EventHttpRequest
PHP Manual

EventHttpRequest::getHost

(PECL event >= 1.4.0-beta)

EventHttpRequest::getHostReturns the request host

说明

public string EventHttpRequest::getHost ( void )

Returns the request host.

参数

此函数没有参数。

返回值

Returns the request host.

参见


EventHttpRequest
PHP Manual