class INegotiated(ISSLTransport): (source)
Known implementations: twisted.protocols.tls.TLSMemoryBIOProtocol
A TLS based transport that supports using ALPN to negotiate the protocol to be used inside the encrypted tunnel.
| Attribute | negotiated |
The protocol selected to be spoken using ALPN. If the remote peer does not support ALPN, or ALPN is not available via local TLS libraries, negotiatedProtocol will be None. Otherwise, negotiatedProtocol... |
Inherited from ISSLTransport:
| Method | get |
Return an object with the peer's certificate info. |
Inherited from ITCPTransport (via ISSLTransport):
| Method | abort |
Close the connection abruptly. |
| Method | get |
Returns IPv4Address or IPv6Address. |
| Method | get |
Returns IPv4Address or IPv6Address. |
| Method | get |
Return if SO_KEEPALIVE is enabled. |
| Method | get |
Return if TCP_NODELAY is enabled. |
| Method | lose |
Half-close the write side of a TCP connection. |
| Method | set |
Enable/disable SO_KEEPALIVE. |
| Method | set |
Enable/disable TCP_NODELAY. |
Inherited from ITransport (via ISSLTransport, ITCPTransport):
| Method | lose |
Close my connection, after writing all pending data. |
| Method | write |
Write some data to the physical connection, in sequence, in a non-blocking fashion. |
| Method | write |
Write an iterable of byte strings to the physical connection. |
The protocol selected to be spoken using ALPN. If the remote peer does not support ALPN, or ALPN is not available via local TLS libraries, negotiatedProtocol will be None. Otherwise, negotiatedProtocol will be the name of the selected protocol as bytes. Until the TLS handshake has completed, this property may incorrectly return None: wait until data has been received before trusting it. See https://github.com/twisted/twisted/issues/6024.