protected array $allowed_protocols
private string $magicGUID
public __construct({Array})
Parameter | Type | Description |
---|
$allowed_protocols | array | |
public parseHeaders({Array})
Parameter | Type | Description |
---|
$request | string | |
$body | string | |
$ | false | |
protected createHandshake({Array})
Parameter | Type | Description |
---|
$path | string | |
$host | string | |
$origin | string | |
$key | string | |
$extra_headers | array | |
protected acceptHandshake({Array})
Parameter | Type | Description |
---|
$headers | string | |
$responseHeaders | array | |
$key | string | |
$results | array | |
Parameter | Type | Description |
---|
$payload | string | |
$type | string | |
$masked | bool | |
protected getFrame({Array})
Parameter | Type | Description |
---|
$buffer | string | |
$payload | string | |
protected checkHost({Array})
Parameter | Type | Description |
---|
$host | string | |
protected checkRequestURL({Array})
Parameter | Type | Description |
---|
$path | string | |
$ | bool | |
protected checkOrigin({Array})
Parameter | Type | Description |
---|
$origin | string | |
protected checkProtocol({Array})
Parameter | Type | Description |
---|
$protocols | string | |
$ | false | |
protected hexString({Array})
Parameter | Type | Description |
---|
$string | string | |
private getFrameHeaders({Array})
Parameter | Type | Description |
---|
$frame | string | |
private applyMask({Array})
Parameter | Type | Description |
---|
$headers | array | |
$payload | string | |
Generated by Hazaar API Doc Generator