Implements interfaces: twisted.web.iweb.IPolicyForHTTPS

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 2016-04-11 10:39:53.