*add getter for socketOptions

This commit is contained in:
Derrick Hammer 2023-04-15 19:44:01 -04:00
parent 422c11b9b8
commit ddf6b2c9d8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 6 additions and 1 deletions

View File

@ -10,7 +10,6 @@ export interface ProxyOptions extends DataSocketOptions {
export default abstract class Proxy {
protected _listen: any;
protected _socketOptions: DataSocketOptions;
protected _autostart: boolean;
constructor({
@ -42,6 +41,12 @@ export default abstract class Proxy {
this.init();
}
private _socketOptions: DataSocketOptions;
get socketOptions(): DataSocketOptions {
return this._socketOptions;
}
private _swarm: any;
get swarm(): any {