EventHttpConnection::setTimeout

(PECL event >= 1.2.6-beta) Sets the timeout for the connection public void EventHttpConnection::setTimeout ( int $timeout ) Sets the timeout for the connection Parameters: timeout Timeout in seconds. Returns: No value is returned.

EventHttpConnection::setRetries

(PECL event >= 1.2.6-beta) Sets the retry limit for the connection public void EventHttpConnection::setRetries ( int $retries ) Sets the retry limit for the connection Parameters: retries The retry limit. -1 means infinity. Returns: No value is returned.

EventHttpConnection::setMaxHeadersSize

(PECL event >= 1.2.6-beta) Sets maximum header size public void EventHttpConnection::setMaxHeadersSize ( string $max_size ) Sets maximum header size for the connection. Parameters: max_size The maximum header size in bytes. Returns: No value is returned. See also:

EventHttpConnection::setMaxBodySize

(PECL event >= 1.2.6-beta) Sets maximum body size for the connection public void EventHttpConnection::setMaxBodySize ( string $max_size ) Sets maximum body size for the connection. Parameters: max_size The maximum body size in bytes. Returns: No value is returned. See also:

EventHttpConnection::setLocalPort

(PECL event >= 1.2.6-beta) Sets the local port from which connections are made public void EventHttpConnection::setLocalPort ( int $port ) Sets the local port from which connections are made. Parameters: port The port number. Returns: See also: EventHttpConn

EventHttpConnection::setLocalAddress

(PECL event >= 1.2.6-beta) Sets the IP address from which HTTP connections are made public void EventHttpConnection::setLocalAddress ( string $address ) Sets the IP address from which http connections are made. Parameters: address The IP address from which HTTP connections are made. Returns: No value is returned.

EventHttpConnection::setCloseCallback

(PECL event >= 1.8.0) Set callback for connection close public void EventHttpConnection::setCloseCallback ( callable $callback [, mixed $data ] ) Sets callback for connection close. Parameters: callback Callback which is called when connection is closed. Should match the following prototype: void callback ([ EventHttpConnection $conn = NULL [, mixed $arg = NU

EventHttpConnection::makeRequest

(PECL event >= 1.4.0-beta) Makes an HTTP request over the specified connection public bool EventHttpConnection::makeRequest ( EventHttpRequest $req , int $type , string $uri ) Makes an HTTP request over the specified connection. type is one of EventHttpRequest::CMD_* constants. Parameters: req The connection object over which to send the request.

EventHttpConnection::getPeer

(PECL event >= 1.2.6-beta) Gets the remote address and port associated with the connection public void EventHttpConnection::getPeer ( string &$address , int &$port ) Gets the remote address and port associated with the connection Parameters: address Address of the peer. port Port of the peer. Returns:

EventHttpConnection::getBase

(PECL event >= 1.2.6-beta) Returns event base associated with the connection public EventBase EventHttpConnection::getBase ( void ) Returns event base associated with the connection. Returns: On success returns EventBase object associated with the connection. Otherwise FALSE.