The EventHttpConnection class
(PECL event >= 1.4.0-beta)
Введение
Represents an HTTP connection.
Обзор классов
EventHttpConnection
{
/* Методы */
public
__construct
(
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
- Введение
- Установка и настройка
- Примеры
- Event flags
- About event persistence
- Event callbacks
- Constructing signal events
- The Event class
- The EventBase class
- The EventBuffer class
- The EventBufferEvent class
- About buffer event callbacks
- The EventConfig class
- The EventDnsBase class
- The EventHttp class
- The EventHttpConnection class
- The EventHttpRequest class
- The EventListener class
- The EventSslContext class
- The EventUtil class
Коментарии
404 Not Found