Method | Description | |
---|---|---|
__construct ( Ratchet\ConnectionInterface $conn, React\EventLoop\LoopInterface $loop ) | Constructor | |
close ( ) | Close transport | |
getTransportDetails ( ) : array | Get transport details | |
onPong ( Ratchet\WebSocket\Version\RFC6455\Frame $frame ) | Handle on pong | |
ping ( integer $timeout = 10 ) : |
Ping | |
sendMessage ( Thruway\Message\Message $msg ) | Send message |
public __construct ( Ratchet\ConnectionInterface $conn, React\EventLoop\LoopInterface $loop ) | ||
$conn | Ratchet\ConnectionInterface | |
$loop | React\EventLoop\LoopInterface |
public getTransportDetails ( ) : array | ||
return | array |
public onPong ( Ratchet\WebSocket\Version\RFC6455\Frame $frame ) | ||
$frame | Ratchet\WebSocket\Version\RFC6455\Frame |
public sendMessage ( Thruway\Message\Message $msg ) | ||
$msg | Thruway\Message\Message |