t.w.i.IPolicyForHTTPS(Interface) : interface documentation

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

An IPolicyForHTTPS provides a policy for verifying the certificates of HTTPS connections, in the form of a client connection creator per network location.
Present Since14.0
Method creatorForNetloc No summary
def creatorForNetloc(hostname, port): (source)
Create a client connection creator appropriate for the given URL "netloc"; i.e. hostname and port number pair.
ParametershostnameThe name of the requested remote host. (type: unicode)
portThe number of the requested remote port. (type: int)
ReturnsA client connection creator expressing the security requirements for the given remote host. (type: client connection creator)
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.