PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

The EventHttp class

(PECL event >= 1.4.0-beta)

简介

Represents HTTP server.

类摘要

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

Table of Contents