WebsocketPayload
class WebsocketPayload
Class WebsocketPayload
Constants
| OPCODE_CONTINUE |
|
| OPCODE_TEXT |
|
| OPCODE_BINARY |
|
| OPCODE_NON_CONTROL_RESERVED_1 |
|
| OPCODE_NON_CONTROL_RESERVED_2 |
|
| OPCODE_NON_CONTROL_RESERVED_3 |
|
| OPCODE_NON_CONTROL_RESERVED_4 |
|
| OPCODE_NON_CONTROL_RESERVED_5 |
|
| OPCODE_CLOSE |
|
| OPCODE_PING |
|
| OPCODE_PONG |
|
| OPCODE_CONTROL_RESERVED_1 |
|
| OPCODE_CONTROL_RESERVED_2 |
|
| OPCODE_CONTROL_RESERVED_3 |
|
| OPCODE_CONTROL_RESERVED_4 |
|
| OPCODE_CONTROL_RESERVED_5 |
|
Methods
$this
setFin(mixed $fin)
No description
int
getFin()
No description
$this
setRsv1(mixed $rsv1)
No description
int
getRsv1()
No description
$this
setRsv2(mixed $rsv2)
No description
int
getRsv2()
No description
$this
setRsv3(mixed $rsv3)
No description
int
getRsv3()
No description
$this
setOpcode(mixed $opcode)
No description
mixed
getOpcode()
No description
$this
setMask(mixed $mask)
No description
int
getMask()
No description
int
getLength()
No description
$this
setMaskKey(mixed $maskKey)
No description
mixed
getMaskKey()
No description
$this
setPayload(mixed $payload)
No description
mixed
getPayload()
No description
string
generateMaskKey()
No description
int|string
encodePayload()
No description
static string
generateClosePayload()
No description
string
maskData(mixed $data, mixed $key)
No description