Transport
interface Transport
Methods
Details
at line 14
void
onReceive(Closure $handler)
Register the incoming message handler.
at line 21
run()
Run the transport.
Implementations return a response or nothing, which no native return type can cover.
at line 26
void
send(string $message)
Send an encoded protocol message.
at line 31
void
stream(Closure $stream)
Send messages produced by a streaming callback.