EventHttpRequest::sendReply

(PECL event >= 1.4.0-beta) Send an HTML reply to the client public void EventHttpRequest::sendReply ( int $code , string $reason [, EventBuffer $buf ] ) Send an HTML reply to the client. The body of the reply consists of data in optional buf parameter. Parameters: code The HTTP response code to send. reason A brief message to send

EventHttpRequest::sendError

(PECL event >= 1.4.0-beta) Send an HTML error message to the client public void EventHttpRequest::sendError ( int $error [, string $reason = NULL ] ) Send an HTML error message to the client. Parameters: error The HTTP error code. reason A brief explanation ofthe error. If NULL, the standard meaning of the error code will be used.

EventHttpRequest::removeHeader

(PECL event >= 1.4.0-beta) Removes an HTTP header from the headers of the request public void EventHttpRequest::removeHeader ( string $key , string $type ) Removes an HTTP header from the headers of the request. Parameters: key The header name. type type is one of EventHttpRequest::*_HEADER constants. Returns:

EventHttpRequest::getUri

(PECL event >= 1.4.0-beta) Returns the request URI public string EventHttpRequest::getUri ( void ) Returns the request URI Returns: Returns the request URI See also: EventHttpRequest::getCommand() - EventHttpRequest::getHost() - EventHttpRequest::getRespon

EventHttpRequest::getResponseCode

(PECL event >= 1.4.0-beta) Returns the response code public int EventHttpRequest::getResponseCode ( void ) Returns the response code. Returns: Returns the response code of the request. See also: EventHttpRequest::getCommand() - EventHttpRequest::getHost() -

EventHttpRequest::getOutputHeaders

(PECL event >= 1.4.0-beta) Returns associative array of the input headers public void EventHttpRequest::getOutputHeaders ( void ) Returns associative array of the input headers. Returns: See also: EventHttpRequest::getInputHeaders() -

EventHttpRequest::getOutputBuffer

(PECL event >= 1.4.0-beta) Returns the output buffer of the request public EventBuffer EventHttpRequest::getOutputBuffer ( void ) Returns the output buffer of the request. Returns: Returns the output buffer of the request. See also: EventHttpRequest::getInputBuffer() -

EventHttpRequest::getInputHeaders

(PECL event >= 1.4.0-beta) Returns associative array of the input headers public array EventHttpRequest::getInputHeaders ( void ) Returns associative array of the input headers. Returns: Returns associative array of the input headers. See also: EventHttpRequest::getOutputHeaders() -

EventHttpRequest::getInputBuffer

(PECL event >= 1.4.0-beta) Returns the input buffer public EventBuffer EventHttpRequest::getInputBuffer ( void ) Returns the input buffer. Returns: Returns the input buffer. See also: EventHttpRequest::getOutputBuffer() -

EventHttpRequest::getHost

(PECL event >= 1.4.0-beta) Returns the request host public string EventHttpRequest::getHost ( void ) Returns the request host. Returns: Returns the request host. See also: EventHttpRequest::getUri() - EventHttpRequest::getCommand() -