EVENTHTTP(3) 1 EVENTHTTP(3)
The EventHttp class
INTRODUCTION
Represents HTTP server.
CLASS SYNOPSIS
EventHttp
final
EventHttp
Methods
o public bool EventHttp::accept (mixed $socket)
o public bool EventHttp::addServerAlias (string $alias)
o public void EventHttp::bind (string $address, int $port)
o public EventHttp::__construct NULL (EventBase $base, [EventSslContext $ctx])
o public bool EventHttp::removeServerAlias (string $alias)
o public void EventHttp::setAllowedMethods (int $methods)
o public void EventHttp::setCallback (string $path, string $cb, [string $arg])
o public void EventHttp::setDefaultCallback (string $cb, [string $arg])
o public void EventHttp::setMaxBodySize (int $value)
o public void EventHttp::setMaxHeadersSize (int $value)
o public void EventHttp::setTimeout (int $value)
PHP Documentation Group EVENTHTTP(3)