HttpMethodBypass
class HttpMethodBypass implements Bypass
Allows to bypass requests of a particular HTTP method
Methods
__construct($methods)
Initialize the bypass with HTTP methods
string[]
getMethods()
Returns the list of methods
addMethods(string[] $methods)
Add new HTTP methods to the list
bool
checkRequestForBypass(HTTPRequest $request)
Returns true if the current process is running in CLI mode
Details
at line 24
__construct($methods)
Initialize the bypass with HTTP methods
at line 34
string[]
getMethods()
Returns the list of methods
at line 46
addMethods(string[] $methods)
Add new HTTP methods to the list
at line 77
bool
checkRequestForBypass(HTTPRequest $request)
Returns true if the current process is running in CLI mode