EventHttpRequest::getHost
(PECL event >= 1.4.0-beta)
EventHttpRequest::getHost — Returns the request host
說明
public
EventHttpRequest::getHost(): string
Returns the request host.
參數
此函式沒有參數。
返回值
Returns the request host.
參見
- EventHttpRequest::getUri() - Returns the request URI
- EventHttpRequest::getCommand() - Returns the request command(method)