mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-08-04 21:39:04 +00:00
add basic support for websocket proxy
This commit is contained in:
@@ -271,5 +271,6 @@ module.exports = {
|
||||
printHilite,
|
||||
isCommonReqEqual,
|
||||
parseUrlQuery,
|
||||
stringSimilarity
|
||||
stringSimilarity,
|
||||
isArrayEqual: _isDeepEqual
|
||||
};
|
||||
|
||||
@@ -13,6 +13,7 @@ const DEFAULT_OPTIONS = {
|
||||
webPort: 8002, // optional, port for web interface
|
||||
wsPort: 8003, // optional, internal port for web socket
|
||||
},
|
||||
wsIntercept: true,
|
||||
throttle: 10000, // optional, speed limit in kb/s
|
||||
forceProxyHttps: true, // intercept https as well
|
||||
dangerouslyIgnoreUnauthorized: true,
|
||||
|
||||
Reference in New Issue
Block a user