\ManaPHP\Ws\ClientMessage

Summary

Methods
Properties
Constants
__construct()
jsonSerialize()
$op_code
$payload
$elapsed
TEXT_FRAME
BINARY_FRAME
CLOSE_FRAME
PING_FRAME
PONG_FRAME
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

TEXT_FRAME

TEXT_FRAME = 1

BINARY_FRAME

BINARY_FRAME = 2

CLOSE_FRAME

CLOSE_FRAME = 8

PING_FRAME

PING_FRAME = 9

PONG_FRAME

PONG_FRAME = 10

Properties

$op_code

$op_code : integer

Type

integer

$payload

$payload : string

Type

string

$elapsed

$elapsed : float

Type

float

Methods

__construct()

__construct(integer  $op_code, string  $payload, float  $elapsed) 

Parameters

integer $op_code
string $payload
float $elapsed

jsonSerialize()

jsonSerialize()