Part of twisted.web.iweb View Source View In Hierarchy
IPolicyForHTTPS
provides a policy for verifying the certificates of HTTPS connections, in
the form of a client
connection creator per network location.| Present Since | 14.0 | |
| Method | creatorForNetloc | No summary |
client
connection creator appropriate for the given URL
"netloc"; i.e. hostname and port number pair.| Parameters | hostname | The name of the requested remote host. (type: bytes) |
| port | The number of the requested remote port. (type: int) | |
| Returns | A client connection creator expressing the security requirements for the
given remote host. (type: client
connection creator) | |