@@ -70,6 +70,11 @@ To route all traffic via local(your) machine -
70
70
``` java
71
71
bsLocalArgs. put(" forcelocal" , " true" );
72
72
```
73
+ #### Force Proxy
74
+ To route all traffic via the proxy specified.
75
+ ``` java
76
+ bsLocalArgs. put(" forceproxy" , " true" );
77
+ ```
73
78
74
79
#### Proxy
75
80
To use a proxy for local testing -
@@ -85,6 +90,20 @@ bsLocalArgs.put("proxyPort", "8000");
85
90
bsLocalArgs. put(" proxyUser" , " user" );
86
91
bsLocalArgs. put(" proxyPass" , " password" );
87
92
```
93
+ #### Local Proxy
94
+ To use local proxy in local testing -
95
+
96
+ * localProxyHost: Hostname/IP of proxy, remaining proxy options are ignored if this option is absent
97
+ * localProxyPort: Port for the proxy, defaults to 8081 when -localProxyHost is used
98
+ * localProxyUser: Username for connecting to proxy (Basic Auth Only)
99
+ * localProxyPass: Password for USERNAME, will be ignored if USERNAME is empty or not specified
100
+
101
+ ``` java
102
+ bsLocalArgs. put(" localProxyHost" , " 127.0.0.1" );
103
+ bsLocalArgs. put(" localProxyPort" , " 8000" );
104
+ bsLocalArgs. put(" -localProxyUser" , " user" );
105
+ bsLocalArgs. put(" -localProxyPass" , " password" );
106
+ ```
88
107
89
108
#### Local Identifier
90
109
If doing simultaneous multiple local testing connections, set this uniquely for different processes -
0 commit comments