Event
PHP Manual

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 )
public EventBase getBase ( void )
public void getPeer ( string &$address , int &$port )
public bool makeRequest ( EventHttpRequest $req , int $type , string $uri )
public void setCloseCallback ( callable $callback [, mixed $data ] )
public void setLocalAddress ( string $address )
public void setLocalPort ( int $port )
public void setMaxBodySize ( string $max_size )
public void setMaxHeadersSize ( string $max_size )
public void setRetries ( int $retries )
public void setTimeout ( int $timeout )
}

Table of Contents


Event
PHP Manual