|
AMQPConnection::setTimeoutSet the timeout. Description
public bool AMQPConnection::setTimeout
( float
$timeout
)Set the amount of time, in seconds, after which this instance of an AMQPConnection object times out a request to the broker. Setting this value will override the default value specified by the amqp.timeout INI setting. To specify a timeout of 500ms, simply pass in 0.5. Parameters
Return Values
Returns Errors/Exceptions
Throws an AMQPConnectionException if Examples
Example #1 AMQPConnection::setTimeout example
<?php |