Does python client's websocket support authenticated proxy?

dummydost
If yes, where can I specify it?
If no, please add it in the future versions.

Thanks!
  • Vivek
    @dummydost We don't have it yet but there is a github issue raised and we will follow up on that.
  • dummydost
    dummydost edited October 2016
    @vivek @Kailash In the WebSocketApp class which is used by WebSocket class, there is a method run_forever whose signature is as follows:

    def run_forever(self, sockopt=None, sslopt=None, ping_interval=0, ping_timeout=None,http_proxy_host=None, http_proxy_port=None,http_no_proxy=None, http_proxy_auth=None,skip_utf8_validation=False,host=None, origin=None):

    If I specify http_proxy_host and http_proxy_port, it works, but since I have an authenticated proxy, how do I provide authorization details? It should be in the http_proxy_auth but I don't know the input format for the http_proxy_auth . Please help.
Sign In or Register to comment.