parameters: (self, host, port=None, headers=None)
docstring: Sets up the host and the port for the HTTP CONNECT Tunnelling.
  
          The headers argument should be a mapping of extra HTTP headers
          to send with the CONNECT request.
docstring_summary: Sets up the host and the port for the HTTP CONNECT Tunnelling.
docstring_tokens: Sets up the host and the port for the HTTP CONNECT Tunnelling .
function: def set_tunnel(self, host, port=None, headers=None):
          """ Sets up the host and the port for the HTTP CONNECT Tunnelling.
  
          The headers argument should be a mapping of extra HTTP headers
          to send with the CONNECT request.
          """
          self._tunnel_host = host
          self._tunnel_port = port
          if headers:
              self._tunnel_headers = headers
          else:
              self._tunnel_headers.clear()
function_tokens: def set_tunnel ( self , host , port = None , headers = None ) : self . _tunnel_host = host self . _tunnel_port = port if headers : self . _tunnel_headers = headers else : self . _tunnel_headers . clear ( )