The EventHttpConnection class
(PECL event >= 1.4.0-beta)
简介
Represents an HTTP connection.
类摘要
class EventHttpConnection
{
/* 方法 */
public
__construct(
EventBase
EventDnsBase
string
int
EventSslContext
)
}EventBase
$base
,EventDnsBase
$dns_base
,string
$address
,int
$port
,EventSslContext
$ctx
= null
)
目录
- EventHttpConnection::__construct — Constructs EventHttpConnection object
- EventHttpConnection::getBase — Returns event base associated with the connection
- EventHttpConnection::getPeer — Gets the remote address and port associated with the connection
- EventHttpConnection::makeRequest — Makes an HTTP request over the specified connection
- EventHttpConnection::setCloseCallback — Set callback for connection close
- EventHttpConnection::setLocalAddress — Sets the IP address from which HTTP connections are made
- EventHttpConnection::setLocalPort — Sets the local port from which connections are made
- EventHttpConnection::setMaxBodySize — Sets maximum body size for the connection
- EventHttpConnection::setMaxHeadersSize — Sets maximum header size
- EventHttpConnection::setRetries — Sets the retry limit for the connection
- EventHttpConnection::setTimeout — Sets the timeout for the connection

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/class.eventhttpconnection.php