@xmobitea/gn-server 2.6.7 → 2.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,7 @@ declare abstract class BuilderBase {
9
9
  protected enableSendAndReceiveDebug: boolean;
10
10
  protected enablePostViaMsgPack: boolean;
11
11
  protected enablePostViaJson: boolean;
12
+ protected trustProxy: boolean;
12
13
  getEnable(): boolean;
13
14
  getOrigin(): string;
14
15
  getMethods(): MethodType[];
@@ -17,6 +18,7 @@ declare abstract class BuilderBase {
17
18
  getEnableSendAndReceiveDebug(): boolean;
18
19
  getEnablePostViaMsgPack(): boolean;
19
20
  getEnablePostViaJson(): boolean;
21
+ getTrustProxy(): boolean;
20
22
  constructor();
21
23
  }
22
24
  declare class Builder extends BuilderBase implements IBuilder<HttpAppSettings> {
@@ -31,6 +33,7 @@ declare class Builder extends BuilderBase implements IBuilder<HttpAppSettings> {
31
33
  setEnableSendAndReceiveDebug(enableSendAndReceiveDebug: boolean): Builder;
32
34
  setEnablePostViaMsgPack(enablePostViaMsgPack: boolean): Builder;
33
35
  setEnablePostViaJson(enablePostViaJson: boolean): Builder;
36
+ setTrustProxy(trustProxy: boolean): Builder;
34
37
  build(): HttpAppSettings;
35
38
  constructor();
36
39
  }