t.w.c.BrowserLikePolicyForHTTPS(object) : class documentation

Part of twisted.web.client View Source View In Hierarchy

SSL connection creator for web clients.
Method __init__ Undocumented
Method creatorForNetloc Create a client connection creator for a given network location.
def __init__(self, trustRoot=None): (source)
Undocumented
@_requireSSL
def creatorForNetloc(self, hostname, port): (source)
Create a client connection creator for a given network location.
ParameterstlsThe TLS protocol to create a connection for. (type: twisted.protocols.tls.TLSMemoryBIOProtocol)
hostnameThe hostname part of the URI. (type: bytes)
portThe port part of the URI. (type: int)
Returnsa connection creator with appropriate verification restrictions set (type: client connection creator)
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.