\Tests\rpcTestWS

Summary

Methods
Properties
Constants
heartbeat()
onConnect()
onMessage()
onClose()
sendMessageToClients()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

heartbeat()

heartbeat() : void

onConnect()

onConnect(\Worker\Socket\TCPConnection  $client) : void

Parameters

\Worker\Socket\TCPConnection $client

onMessage()

onMessage(string  $context, \Worker\Socket\TCPConnection  $client) : void

Parameters

string $context
\Worker\Socket\TCPConnection $client

onClose()

onClose(\Worker\Socket\TCPConnection  $client) : void

Parameters

\Worker\Socket\TCPConnection $client

sendMessageToClients()

sendMessageToClients(string  $message) : true

Parameters

string $message

Returns

true —