diff options
author | liris <liris.pp@gmail.com> | 2018-10-28 10:31:47 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-28 10:31:47 +0900 |
commit | 06eaab495f00b39a4a783acea8c36a352de7e76c (patch) | |
tree | 3f4e5ac9d09f19b98ca84ee03f8cf595feabd4f9 /websocket | |
parent | bb3159de4f50f18626e3762fbc8356619fcd74ec (diff) | |
parent | 602347319e86cb3bbf69010fbfe76141e60329b5 (diff) | |
download | websocket-client-06eaab495f00b39a4a783acea8c36a352de7e76c.tar.gz |
Merge pull request #486 from instance01/proxy_type
Diffstat (limited to 'websocket')
-rw-r--r-- | websocket/_app.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/websocket/_app.py b/websocket/_app.py index 9cea877..f23ab2e 100644 --- a/websocket/_app.py +++ b/websocket/_app.py @@ -179,7 +179,7 @@ class WebSocketApp(object): http_no_proxy=None, http_proxy_auth=None, skip_utf8_validation=False, host=None, origin=None, dispatcher=None, - supress_origin = False): + supress_origin = False, proxy_type=None): """ run event loop for WebSocket framework. This loop is infinite loop and is alive during websocket is available. @@ -246,7 +246,8 @@ class WebSocketApp(object): http_proxy_host=http_proxy_host, http_proxy_port=http_proxy_port, http_no_proxy=http_no_proxy, http_proxy_auth=http_proxy_auth, subprotocols=self.subprotocols, - host=host, origin=origin, supress_origin = supress_origin) + host=host, origin=origin, supress_origin = supress_origin, + proxy_type=proxy_type) if not dispatcher: dispatcher = self.create_dispatcher(ping_timeout) |