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 Alsotwisted.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.
def acceptableProtocols(): (source)

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.

Returnsa list of ALPN tokens in order of preference. (type: list of bytes)
API Documentation for Twisted, generated by pydoctor at 2017-09-23 19:45:03.