Please wait while we load your page...
 

Announcements

PHP Manual :: The EventHttp class



EventDnsBase::setSearchNdots || EventHttp::accept || Event || PHP Manual

(PECL event >= 1.4.0-beta)

Represents HTTP server.

final EventHttp {
/* Methods */
public bool accept ( mixed $socket )
public bool addServerAlias ( string $alias )
public void bind ( string $address , int $port )
public __construct ( EventBase $base [, EventSslContext $ctx = NULL ] )
public bool removeServerAlias ( string $alias )
public void setAllowedMethods ( int $methods )
public void setCallback ( string $path , string $cb [, string $arg ] )
public void setDefaultCallback ( string $cb [, string $arg ] )
public void setMaxBodySize ( int $value )
public void setMaxHeadersSize ( int $value )
public void setTimeout ( int $value )
}


EventDnsBase::setSearchNdots || EventHttp::accept || Event || PHP Manual
Live Chat Not Available