PHP 8.5.0 RC 2 available for testing

The EventHttp class

(PECL event >= 1.4.0-beta)

Introduction

Represents HTTP server.

Class synopsis

final class EventHttp {
/* Methods */
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

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /