BINARY_TYPE_BLOB
BINARY_TYPE_BLOB = "\x81" : string
Websocket blob type.
Websocket protocol for client.
sendHandshake(\Workerman\Connection\TcpConnection $connection) : void
Send websocket handshake.
| \Workerman\Connection\TcpConnection | $connection |
dealHandshake(string $buffer, \Workerman\Connection\TcpConnection $connection) : integer
Websocket handshake.
| string | $buffer | |
| \Workerman\Connection\TcpConnection | $connection |