PHP Class Hprose\Swoole\Http\Client

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

Public Properties

Property Type Description
$header
$host
$ip
$keepAlive
$keepAliveTimeout
$maxPoolSize
$poolTimeout
$port
$ssl
$type

Public Methods

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

Protected Methods

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

Method Details

__construct() public method

public __construct ( $uris = null )

getHost() public method

public getHost ( )

getKeepAliveTimeout() public method

public getKeepAliveTimeout ( )

getMaxPoolSize() public method

public getMaxPoolSize ( )

getPoolTimeout() public method

public getPoolTimeout ( )

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 )

setMaxPoolSize() public method

public setMaxPoolSize ( $value )

setPoolTimeout() public method

public setPoolTimeout ( $value )

setUri() protected method

protected setUri ( $uri )

wait() protected method

protected wait ( $interval, $callback )

Property Details

$header public_oe property

public $header

$host public_oe property

public $host

$ip public_oe property

public $ip

$keepAlive public_oe property

public $keepAlive

$keepAliveTimeout public_oe property

public $keepAliveTimeout

$maxPoolSize public_oe property

public $maxPoolSize

$poolTimeout public_oe property

public $poolTimeout

$port public_oe property

public $port

$ssl public_oe property

public $ssl

$type public_oe property

public $type