메소드 | 설명 | |
---|---|---|
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 | |
리턴 | Amp\Promise |