EventHttpRequest::getConnection
EventHttpRequest::getInputBuffer
EventHttpRequest
PHP Manual

# EventHttpRequest::getHost

(PECL event >= 1.4.0-beta)

EventHttpRequest::getHost — Returns the request host

### Description

public string EventHttpRequest::getHost ( void )

Returns the request host.

### Parameters

This function has no parameters.

### Return Values

Returns the request host.

### See Also

- EventHttpRequest::getUri() - Returns the request URI
- EventHttpRequest::getCommand() - Returns the request command(method)

EventHttpRequest::getConnection
EventHttpRequest::getInputBuffer
EventHttpRequest
PHP Manual