La classe EventHttpConnection

(PECL event >= 1.4.0-beta)

Introduction

Représente une connexion HTTP.

Synopsis de la classe

EventHttpConnection {
/* Méthodes */
public __construct ( EventBase $base , EventDnsBase $dns_base , string $address , int $port [, EventSslContext $ctx = NULL ] )
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 )
}

Sommaire

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top