phasync\Util\Protocols\WebSocket
final
class
Documentation
Documentation missing - No docblock found for this class.
Inheritance
Implements:
phasync\Internal\ObjectPoolInterface
Uses Traits:
phasync\Internal\ObjectPoolTrait
Constants (7)
| Name | Value |
|---|---|
OPCODE_CONTINUATION |
0 |
OPCODE_TEXT |
1 |
OPCODE_BINARY |
2 |
OPCODE_CLOSE |
8 |
OPCODE_PING |
9 |
OPCODE_PONG |
10 |
OPCODES |
array (
0 => 'CONTINUATION',
1 => 'TEXT',
2 => 'BINARY',
8 => 'CLOSE',
9 => 'PING',
10 => 'PONG',
) |
Properties (12)
public
bool $fin
public
bool $rsv1
public
bool $rsv2
public
bool $rsv3
public
int $opcode
public
bool $mask
public
int $payloadLen
public
?
string $maskingKey
public
string $payload
private
bool $pooled
private
static
array $pool
private
static
int $instanceCount
Methods (12)
Documentation missing
Parse a Frame instance from a StringBuffer object.
Create a new instance of Frame.
Use {@see Frame::create()} to create an instance of Frame.
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Encode the frame to a binary representation.
Documentation missing
Documentation missing
Documentation missing