프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$context | Array of php stream context options | ||
$cookies | cookies received during handshake | ||
$namespace | the namespace of the next message | ||
$options | Array of options for the engine | ||
$session | Session information | ||
$stream | Resource to the connected stream | ||
$url | Parse url result |
메소드 | 설명 | |
---|---|---|
__construct ( $url, array $options = [] ) | ||
close ( ) | {@inheritDoc} | |
connect ( ) | {@inheritDoc} | |
emit ( $event, array $args ) | {@inheritDoc} | |
getName ( ) | {@inheritDoc} | |
keepAlive ( ) | {@inheritDoc} | |
of ( $namespace ) | {@inheritDoc} | |
read ( ) | {@inheritDoc} | |
write ( integer $code, string $message = null ) | Write the message to the socket |
메소드 | 설명 | |
---|---|---|
getDefaultOptions ( ) : array | Get the defaults options | |
parseUrl ( $url ) : string[] | Parse an url into parts we may expect |
protected getDefaultOptions ( ) : array | ||
리턴 | array | mixed[] Defaults options for this engine |
protected parseUrl ( $url ) : string[] | ||
리턴 | string[] | information on the given URL |
public read ( ) |