class _DeprecatedToCurrentPolicyForHTTPS: (source)
Implements interfaces: twisted.web.iweb.IPolicyForHTTPS
| Method | __init__ |
Wrap a web context factory in an IPolicyForHTTPS. |
| Method | creatorForNetloc |
Called the wrapped web context factory's getContext method with a hostname and port number and return the resulting context object. |
| Instance Variable | _webContextFactory |
An object providing a getContext method with hostname and port arguments. |
IPolicyForHTTPS.| Parameters | |
webContextFactory:WebClientContextFactory (or object with a similar getContext method). | An object providing a getContext method with hostname and port arguments. |
| Parameters | |
hostname:bytes | The hostname part of the URI. |
port:int | The port part of the URI. |
| Returns | |
IOpenSSLContextFactory | A context factory. |
WebClientContextFactory (or object with a similar getContext method). =
(source)