*add getter for socketOptions
This commit is contained in:
parent
422c11b9b8
commit
ddf6b2c9d8
|
@ -10,7 +10,6 @@ export interface ProxyOptions extends DataSocketOptions {
|
||||||
|
|
||||||
export default abstract class Proxy {
|
export default abstract class Proxy {
|
||||||
protected _listen: any;
|
protected _listen: any;
|
||||||
protected _socketOptions: DataSocketOptions;
|
|
||||||
protected _autostart: boolean;
|
protected _autostart: boolean;
|
||||||
|
|
||||||
constructor({
|
constructor({
|
||||||
|
@ -42,6 +41,12 @@ export default abstract class Proxy {
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private _socketOptions: DataSocketOptions;
|
||||||
|
|
||||||
|
get socketOptions(): DataSocketOptions {
|
||||||
|
return this._socketOptions;
|
||||||
|
}
|
||||||
|
|
||||||
private _swarm: any;
|
private _swarm: any;
|
||||||
|
|
||||||
get swarm(): any {
|
get swarm(): any {
|
||||||
|
|
Loading…
Reference in New Issue