Php/docs/class.eventhttp

提供:Dev Guides
< Php
移動先:案内検索

(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

}

目次