public onCall ( Ratchet\ConnectionInterface $conn, string $id, string | Topic $topic, array $params ) | ||
$conn | Ratchet\ConnectionInterface | |
$id | string | The unique ID of the RPC, required to respond to |
$topic | string | Topic | The topic to execute the call against |
$params | array | Call parameters received from the client |