Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17380 программистов и 1716 роботов. Сейчас ищет 1271 программист ...
The EventHttp class
Вернуться к: Event
(PECL event >= 1.4.0-beta)
Введение
Represents HTTP server.
Обзор классов
final
EventHttp
{
/* Методы */
}Содержание
- EventHttp::accept — Makes an HTTP server accept connections on the specified socket stream or resource
- EventHttp::addServerAlias — Adds a server alias to the HTTP server object
- EventHttp::bind — Binds an HTTP server on the specified address and port
- EventHttp::__construct — Constructs EventHttp object(the HTTP server)
- EventHttp::removeServerAlias — Removes server alias
- EventHttp::setAllowedMethods — Sets the what HTTP methods are supported in requests accepted by this server, and passed to user callbacks
- EventHttp::setCallback — Sets a callback for specified URI
- EventHttp::setDefaultCallback — Sets default callback to handle requests that are not caught by specific callbacks
- EventHttp::setMaxBodySize — Sets maximum request body size
- EventHttp::setMaxHeadersSize — Sets maximum HTTP header size
- EventHttp::setTimeout — Sets the timeout for an HTTP request
Вернуться к: Event