|
const | RFC_GUID = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11' |
|
|
string | $buffer = '' |
|
WebSocketClient | $client |
|
string[][] | $headers = [] |
| [ header name => lowercase value => actual value ] More...
|
|
int | $maxLength = 4096 |
| The connection is closed (HTTP 413) if the received headers exceed this many bytes. More...
|
|
string | $method |
|
◆ $headers
string [][] $headers = [] |
|
protected |
[ header name => lowercase value => actual value ]
◆ $maxLength
The connection is closed (HTTP 413) if the received headers exceed this many bytes.
◆ __construct()
◆ getHeaders()
string [][] getHeaders |
( |
| ) |
|
◆ getMethod()
◆ onReadable()
Negotiates the initial connection.
- Returns
- bool
- Exceptions
-
◆ upgrade()
Sends the connection upgrade headers.
◆ validate()
Validates the received HTTP handshake headers, or throws.
- Exceptions
-