public getHttpHost () Gets host name used by the request. Request::getHttpHost trying to find host name in following
public isAjax () Checks whether request has been made using ajax
abstract public moveTo (mixed $destination) ...
implements Phalcon\Http\RequestInterface
public setHttpMethodParameterOverride (mixed $httpMethodParameterOverride) ...
public getBestCharset () Gets best charset accepted by the browser/client from _SERVER[“HTTP_ACCEPT_CHARSET”]
public hasPost (mixed $name) Checks whether $_POST superglobal has certain index
public isPurge () Checks whether HTTP method is PURGE (Squid and Varnish support). if _SERVER[“REQUEST_METHOD”]===”PURGE”
public getClientAddress ([mixed $trustForwardedHeader]) Gets most possible client IPv4 Address. This method search
public hasQuery (mixed $name) Checks whether $_GET superglobal has certain index
Page 5 of 8