Event EventHttpConnection 클래스

(PECL event >= 1.4.0-beta)


소개

HTTP 연결을 나타냅니다.


클래스 개요

                  
class EventHttpConnection {

  /* Methods */
  public __construct(
       EventBase $base ,
       EventDnsBase $dns_base ,
       string $address ,
       int $port ,
       EventSslContext $ctx = null
  )
  public getBase(): EventBase
  public getPeer( string &$address , int &$port ): void
  public makeRequest( EventHttpRequest $req , int $type , string $uri ): bool
  public setCloseCallback( callable $callback , mixed $data = ?): void
  public setLocalAddress( string $address ): void
  public setLocalPort( int $port ): void
  public setMaxBodySize( string $max_size ): void
  public setMaxHeadersSize( string $max_size ): void
  public setRetries( int $retries ): void
  public setTimeout( int $timeout ): void
}
                  
                

목차