class twisted.internet.interfaces.IProtocolNegotiationFactory(Interface): (source)
Known implementations: twisted.web.server.Site
A provider of IProtocolNegotiationFactory
can provide information about the various protocols that the factory can create implementations of. This can be used, for example, to provide protocol names for Next Protocol Negotiation and Application Layer Protocol Negotiation.
See Also | twisted.internet.ssl |
Method | acceptableProtocols | Returns a list of protocols that can be spoken by the connection factory in the form of ALPN tokens, as laid out in the IANA registry for ALPN tokens. |