프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$buffer | |||
$events | |||
$flag | |||
$headers | |||
$id | |||
$server | |||
$socket | |||
$uri | |||
$verb |
메소드 | 설명 | |
---|---|---|
__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 |
리턴 | object |