PHP Class Hprose\Swoole\WebSocket\Client

Inheritance: extends Hprose\Client
Datei anzeigen Open project: hprose/hprose-swoole

Public Properties

Property Type Description
$host
$ip
$keepAlive
$keepAliveTimeout
$port
$ssl
$type

Public Methods

Method Description
__construct ( $uris = null )
close ( )
getHost ( )
getKeepAliveTimeout ( )
getPort ( )
isKeepAlive ( )
isSSL ( )
setHeader ( $name, $value )
setKeepAlive ( $keepAlive = true )
setKeepAliveTimeout ( $timeout )

Protected Methods

Method Description
sendAndReceive ( $request, stdClass $context )
setUri ( $uri )
wait ( $interval, $callback )

Private Methods

Method Description
connect ( )
getNextId ( )

Method Details

__construct() public method

public __construct ( $uris = null )

close() public method

public close ( )

getHost() public method

public getHost ( )

getKeepAliveTimeout() public method

public getKeepAliveTimeout ( )

getPort() public method

public getPort ( )

isKeepAlive() public method

public isKeepAlive ( )

isSSL() public method

public isSSL ( )

sendAndReceive() protected method

protected sendAndReceive ( $request, stdClass $context )
$context stdClass

setHeader() public method

public setHeader ( $name, $value )

setKeepAlive() public method

public setKeepAlive ( $keepAlive = true )

setKeepAliveTimeout() public method

public setKeepAliveTimeout ( $timeout )

setUri() protected method

protected setUri ( $uri )

wait() protected method

protected wait ( $interval, $callback )

Property Details

$host public_oe property

public $host

$ip public_oe property

public $ip

$keepAlive public_oe property

public $keepAlive

$keepAliveTimeout public_oe property

public $keepAliveTimeout

$port public_oe property

public $port

$ssl public_oe property

public $ssl

$type public_oe property

public $type