A WebSocket frame.
Protected Properties | |
| bool | $final |
| int | $opCode |
| string | $payload |
| int | $rsv |
| The RSV bits masked out of the first byte of the frame, as-is. More... | |
Public Methods | |
| __construct (bool $final, int $rsv, int $opCode, string $payload) | |
| string | __toString () |
The payload, or CLOSE reason. More... | |
| int | getCloseCode () |
The CLOSE code. More... | |
| string | getCloseReason () |
The CLOSE reason. More... | |
| int | getLength () |
| string | getName () |
| int | getOpCode () |
| string | getPayload () |
| int | getRsv () |
| bool | hasRsv1 () |
| bool | hasRsv2 () |
| bool | hasRsv3 () |
| bool | isBinary () |
| bool | isClose () |
| bool | isContinuation () |
| bool | isControl () |
| bool | isData () |
| bool | isFinal () |
| bool | isPing () |
| bool | isPong () |
| bool | isText () |
|
protected |
The RSV bits masked out of the first byte of the frame, as-is.
| const NAMES |
| __construct | ( | bool | $final, |
| int | $rsv, | ||
| int | $opCode, | ||
| string | $payload | ||
| ) |
| bool | $final | |
| int | $rsv | |
| int | $opCode | |
| string | $payload |
| string __toString | ( | ) |
The payload, or CLOSE reason.
|
final |
|
final |
|
final |
| string getName | ( | ) |
|
final |
|
final |
|
final |
|
final |
|
final |
|
final |
|
final |
|
final |
|
final |
|
final |
|
final |
|
final |
|
final |
|
final |
|
final |