StatelessAwareTransportInterface
A transport that can carry the modern (SEP-2575) lifecycle as well as the handshake one.
Server::run() hands such a transport both dispatchers; deciding which of them answers is the transport's job, because the evidence is in the request it just read.
Tags
Table of Contents
Methods
- connectStateless() : void
- setHandshakeVersions() : void
- Revisions the handshake dispatcher negotiates, named when a modern-era request reaches a server without the modern era.
Methods
connectStateless()
public
connectStateless(StatelessProtocol $protocol) : void
Parameters
- $protocol : StatelessProtocol
setHandshakeVersions()
Revisions the handshake dispatcher negotiates, named when a modern-era request reaches a server without the modern era.
public
setHandshakeVersions(array<int, ProtocolVersion> $versions) : void
Parameters
- $versions : array<int, ProtocolVersion>