Server
FinalYes
Tags
Table of Contents
Properties
- $logger : LoggerInterface
- $protocol : Protocol
- $statelessProtocol : StatelessProtocol|null
Methods
- __construct() : mixed
- builder() : Builder
- run() : TResult
Properties
$logger read-only
private
LoggerInterface
$logger
= new NullLogger()
$protocol read-only
private
Protocol
$protocol
$statelessProtocol read-only
private
StatelessProtocol|null
$statelessProtocol
= null
Methods
__construct()
public
__construct(Protocol $protocol[, LoggerInterface $logger = new NullLogger() ][, StatelessProtocol|null $statelessProtocol = null ]) : mixed
Parameters
- $protocol : Protocol
- $logger : LoggerInterface = new NullLogger()
- $statelessProtocol : StatelessProtocol|null = null
-
the modern-era (SEP-2575) dispatcher, absent on a server that serves the handshake era alone
builder()
public
static builder() : Builder
Return values
Builderrun()
public
run(TransportInterface<string|int, TResult> $transport) : TResult
Parameters
- $transport : TransportInterface<string|int, TResult>