Метод | Описание | |
---|---|---|
__construct ( Ratchet\Client\WebSocket $conn, React\EventLoop\LoopInterface $loop ) | Constructor | |
close ( ) | close transport | |
getTransportDetails ( ) : array | ||
ping ( integer $timeout = 10 ) : |
ping | |
sendMessage ( Thruway\Message\Message $msg ) | Send message |
public __construct ( Ratchet\Client\WebSocket $conn, React\EventLoop\LoopInterface $loop ) | ||
$conn | Ratchet\Client\WebSocket | |
$loop | React\EventLoop\LoopInterface |
public sendMessage ( Thruway\Message\Message $msg ) | ||
$msg | Thruway\Message\Message |