The EventHttp class

(PECL event >= 1.4.0-beta)

Introduction

Represents HTTP server.

Class synopsis

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

Table of Contents

add a note

User Contributed Notes

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