Table of Contents
-
BINARY_TYPE_ARRAYBUFFER
= "\x82"
-
BINARY_TYPE_BLOB
= "\x81"
-
dealHandshake()
: mixed
-
decode()
: mixed
-
encode()
: mixed
-
input()
: mixed
-
onClose()
: mixed
-
onConnect()
: mixed
-
sendHandshake()
: mixed
-
WSGetServerProtocol()
: mixed
-
WSSetProtocol()
: mixed
BINARY_TYPE_ARRAYBUFFER
public
mixed
BINARY_TYPE_ARRAYBUFFER
= "\x82"
BINARY_TYPE_BLOB
public
mixed
BINARY_TYPE_BLOB
= "\x81"
dealHandshake()
public
static dealHandshake(mixed $buffer, tcpConnection $connection) : mixed
Parameters
-
$buffer
: mixed
-
-
$connection
: tcpConnection
-
Return values
mixed
—
decode()
public
static decode(mixed $bytes, connectionInterface $connection) : mixed
Parameters
-
$bytes
: mixed
-
-
$connection
: connectionInterface
-
Return values
mixed
—
encode()
public
static encode(mixed $payload, connectionInterface $connection) : mixed
Parameters
-
$payload
: mixed
-
-
$connection
: connectionInterface
-
Return values
mixed
—
public
static input(mixed $buffer, connectionInterface $connection) : mixed
Parameters
-
$buffer
: mixed
-
-
$connection
: connectionInterface
-
Return values
mixed
—
onClose()
public
static onClose(mixed $connection) : mixed
Parameters
-
$connection
: mixed
-
Return values
mixed
—
onConnect()
public
static onConnect(mixed $connection) : mixed
Parameters
-
$connection
: mixed
-
Return values
mixed
—
sendHandshake()
public
static sendHandshake(tcpConnection $connection) : mixed
Parameters
-
$connection
: tcpConnection
-
Return values
mixed
—
WSGetServerProtocol()
public
static WSGetServerProtocol(mixed $connection) : mixed
Parameters
-
$connection
: mixed
-
Return values
mixed
—
WSSetProtocol()
public
static WSSetProtocol(mixed $connection, mixed $params) : mixed
Parameters
-
$connection
: mixed
-
-
$params
: mixed
-
Return values
mixed
—