class documentation
class _TLSServerEndpointParser: (source)
Implements interfaces: twisted.internet.interfaces.IStreamServerEndpointStringParser, twisted.plugin.IPlugin
TLS server endpoint parser.
| Method | parse |
Parse a TLS stream server endpoint. |
| Class Variable | prefix |
A str, the description prefix to respond to. For example, an IStreamServerEndpointStringParser plugin which had "foo" for its prefix attribute would be called for endpoint descriptions like "foo:bar:baz"... |
| Method | _actual |
Actual parsing method, with detailed signature breaking out all parameters. |
def parseStreamServer(self, reactor:
IReactorCore, *args: Any, **kwargs: Any) -> IStreamServerEndpoint:
(source)
¶
Parse a TLS stream server endpoint.
A str, the description prefix to respond to. For example, an IStreamServerEndpointStringParser plugin which had "foo" for its prefix attribute would be called for endpoint descriptions like "foo:bar:baz" or "foo:".
def _actualParseStreamServer(self, reactor:
IReactorCore, path: str, port: str = '443', backlog: str = '50', interface: str = '::') -> IStreamServerEndpoint:
(source)
¶
Actual parsing method, with detailed signature breaking out all parameters.