class documentation

class twisted.web.client.BrowserLikePolicyForHTTPS: (source)

Implements interfaces: twisted.web.iweb.IPolicyForHTTPS

View In Hierarchy

SSL connection creator for web clients.

Method __init__ Undocumented
Method creatorForNetloc Create a client connection creator for a given network location.
Instance Variable _trustRoot Undocumented
def __init__(self, trustRoot=None): (source)

Undocumented

_trustRoot = (source)

Undocumented

@_requireSSL
def creatorForNetloc(self, hostname, port): (source)

Create a client connection creator for a given network location.

ParametershostnameThe 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 20.12.1 at 2021-02-28 19:53:36.