EventHttpRequest::getHost
(PECL event >= 1.4.0-beta)
EventHttpRequest::getHost — Returns the request host
说明
public
EventHttpRequest::getHost (
void ) :
string
Returns the request host.
参数
此函数没有参数。
返回值
Returns the request host.
参见
- EventHttpRequest::getUri() - Returns the request URI
- EventHttpRequest::getCommand() - Returns the request command(method)