Свойство | Type | Description | |
---|---|---|---|
$headers | |||
$isClosing | |||
$logger | |||
$loop | |||
$request | |||
$response | |||
$socket | |||
$state | |||
$stream | Devristo\Phpws\Protocol\WebSocketConnection | ||
$streamOptions | |||
$transport | Devristo\Phpws\Protocol\WebSocketTransport | ||
$url |
Méthode | Description | |
---|---|---|
__construct ( $url, React\EventLoop\LoopInterface $loop, Zend\Log\LoggerInterface $logger, array $streamOptions = null ) | ||
close ( ) | ||
getState ( ) | ||
open ( $timeOut = null ) | ||
send ( $string ) | ||
sendFrame ( Devristo\Phpws\Framing\WebSocketFrameInterface $frame ) | ||
sendMessage ( Devristo\Phpws\Messaging\WebSocketMessageInterface $msg ) |
public __construct ( $url, React\EventLoop\LoopInterface $loop, Zend\Log\LoggerInterface $logger, array $streamOptions = null ) | ||
$loop | React\EventLoop\LoopInterface | |
$logger | Zend\Log\LoggerInterface | |
$streamOptions | array |
public sendFrame ( Devristo\Phpws\Framing\WebSocketFrameInterface $frame ) | ||
$frame | Devristo\Phpws\Framing\WebSocketFrameInterface |
public sendMessage ( Devristo\Phpws\Messaging\WebSocketMessageInterface $msg ) | ||
$msg | Devristo\Phpws\Messaging\WebSocketMessageInterface |
protected WebSocketConnection,Devristo\Phpws\Protocol $stream | ||
Résultat | Devristo\Phpws\Protocol\WebSocketConnection |
protected WebSocketTransport,Devristo\Phpws\Protocol $transport | ||
Résultat | Devristo\Phpws\Protocol\WebSocketTransport |