Method | Description | |
---|---|---|
close ( integer $clientId, integer $code = Code::NORMAL_CLOSE, string $reason = "" ) | ||
getClients ( ) : array | ||
getInfo ( integer $clientId ) : array | ||
send ( $clientId, string $data ) : Amp\Promise | ||
sendBinary ( $clientId, string $data ) : Amp\Promise |
public sendBinary ( $clientId, string $data ) : Amp\Promise | ||
$data | string | |
return | Amp\Promise |