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):
Undocumented
@_requireSSL
def creatorForNetloc(self, hostname, port):

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 2020-03-25 17:34:30.