Interfaces, Classes, Traits and Enums
- protocolInterface
Table of Contents
-
BINARY_TYPE_ARRAYBUFFER
= "\x82"
-
BINARY_TYPE_BLOB
= "\x81"
-
dealHandshake()
: mixed
-
decode()
: string
-
encode()
: string
-
input()
: 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 $buffer, connectionInterface $connection) : string
Parameters
-
$buffer
: mixed
-
-
$connection
: connectionInterface
-
Return values
string
—
encode()
public
static encode(mixed $buffer, connectionInterface $connection) : string
Parameters
-
$buffer
: mixed
-
-
$connection
: connectionInterface
-
-
throws
-
Exception
Return values
string
—
public
static input(mixed $buffer, connectionInterface $connection) : mixed
Parameters
-
$buffer
: mixed
-
-
$connection
: connectionInterface
-
Return values
mixed
—