def __init__(self, ssh_transport, host='', port=None, strict=None, localport=DEFAULT_LOCAL_PORT_START): self.localport = localport self.ssh_transport = ssh_transport HTTP.__init__(self, host, port, strict)
def __init__(self, host='', port=0, timeout=10.0): self.connect_timeout = timeout HTTP.__init__(self, host, port)
def __init__(self, host='', port=None, **ssl): HTTP.__init__(self, host, port) try: self.ssl_ctx = ssl['ssl_context'] except KeyError: self.ssl_ctx = SSL.Context('sslv23')
def __init__(self, ssh_transport, host="", port=None, strict=None, localport=DEFAULT_LOCAL_PORT_START): self.localport = localport self.ssh_transport = ssh_transport HTTP.__init__(self, host, port, strict)
def __init__(self, host="", port=None, **ssl): HTTP.__init__(self, host, port) try: self.ssl_ctx = ssl["ssl_context"] except KeyError: self.ssl_ctx = SSL.Context("sslv23")
def __init__(self, host="", port=0, timeout=10.0): self.connect_timeout = timeout HTTP.__init__(self, host, port)