Method | Description | |
---|---|---|
ajax ( ) : boolean | Checks if the current request was sent with a XMLHttpRequest header as sent by javascript | |
cli ( ) : boolean | Checks if the current request was sent via the command line | |
method ( ) : string | null | Get the server request method | |
protocol ( ) : string | null | Get the server protocol |