Source for file IHttpRequest.php
Documentation is available at IHttpRequest.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 11: */
- 15: /**
- 16: * IHttpRequest provides access scheme for request sent via HTTP.
- 17: *
- 20: */
- 22: {
- 23: /**#@+ HTTP request method */
- 24: const
- 30: /**#@-*/
- 32: /**
- 33: * Returns URL object.
- 35: */
- 38: /********************* query, post, files & cookies ****************d*g**/
- 40: /**
- 41: * Returns variable provided to the script via URL query ($_GET).
- 42: * If no key is passed, returns the entire array.
- 46: */
- 49: /**
- 50: * Returns variable provided to the script via POST method ($_POST).
- 51: * If no key is passed, returns the entire array.
- 55: */
- 58: /**
- 59: * Returns HTTP POST data in raw format (only for "application/x-www-form-urlencoded").
- 61: */
- 64: /**
- 65: * Returns uploaded file.
- 68: */
- 71: /**
- 72: * Returns uploaded files.
- 74: */
- 77: /**
- 78: * Returns variable provided to the script via HTTP cookies.
- 82: */
- 85: /**
- 86: * Returns variables provided to the script via HTTP cookies.
- 88: */
- 91: /********************* method & headers ****************d*g**/
- 93: /**
- 94: * Returns HTTP request method (GET, POST, HEAD, PUT, ...). The method is case-sensitive.
- 96: */
- 99: /**
- 100: * Checks HTTP request method.
- 103: */
- 106: /**
- 107: * Return the value of the HTTP header. Pass the header name as the
- 108: * plain, HTTP-specified header name (e.g. 'Accept-Encoding').
- 112: */
- 115: /**
- 116: * Returns all HTTP headers.
- 118: */
- 121: /**
- 122: * Is the request is sent via secure channel (https).
- 124: */
- 127: /**
- 128: * Is AJAX request?
- 130: */
- 133: /**
- 134: * Returns the IP address of the remote client.
- 136: */
- 139: /**
- 140: * Returns the host of the remote client.
- 142: */
- 145: }