Web Requests and Responses

Request metadata, params, headers, cookies, uploads, response headers, includes, files, and hooks.

Subcategories

Includes and Hooks 8Uploads and Forms 2web_request 14web_response 16

Reference Pages

define_atBegin

Registers code to run at the beginning of response processing.

define_atEnd

Registers code to run at the end of response processing.

web_response->getInclude

web_response->getInclude is a member in the Includes and Hooks group; call it on the receiver shown before the arrow.

web_response->includes

web_response->includes is a member in the Includes and Hooks group; call it on the receiver shown before the arrow.

Uploaded files

Uploaded file metadata should be validated, then accepted files moved to an application-controlled location.

web_request

Exposes request metadata, headers, params, cookies, body data, and uploads.

web_request->postParams

web_request->postParams is a member in the web_request group; call it on the receiver shown before the arrow.

web_request->queryParams

web_request->queryParams is a member in the web_request group; call it on the receiver shown before the arrow.

abort

Stops current response or execution.

web_response

Controls response headers, cookies, status, includes, and body behavior.

web_response->addAtEnd

web_response->addAtEnd is a member in the web_response group; call it on the receiver shown before the arrow.

web_response->cookies

web_response->cookies is a member in the web_response group; call it on the receiver shown before the arrow.