Свойство | Type | Description | |
---|---|---|---|
$buffer | |||
$events | |||
$flag | |||
$headers | |||
$id | |||
$server | |||
$socket | |||
$uri | |||
$verb |
Méthode | Description | |
---|---|---|
__construct ( $server, $socket, $verb, $uri, array $hdrs ) : object | Instantiate object | |
__destruct ( ) : null | Destroy object | |
fetch ( ) : array | FALSE | Retrieve and unmask payload | |
free ( ) : null | Free stream socket | |
headers ( ) : string | Return socket headers | |
id ( ) : string | Return socket ID | |
send ( $op, $data = '' ) : string | FALSE | Frame and transmit payload | |
server ( ) : object | Return server instance | |
uri ( ) : string | Return request URI | |
verb ( ) : string | Return request method |
public __construct ( $server, $socket, $verb, $uri, array $hdrs ) : object | ||
$server | object | |
$socket | resource | |
$verb | string | |
$uri | string | |
$hdrs | array | array |
Résultat | object |