web_response->getStatus

Returns the response status pair.

Target member

Signature

1web_response->getStatus()

Returns the response status pair.

web_response->getStatus is called with member syntax on a receiver value. web_response->getStatus belongs at the request or response boundary. Treat visitor input as untrusted, validate before use, and encode values before writing them into HTML.

Examples

Basic call

1web_response->getStatus
The example belongs near a request or response boundary; validate visitor input before trusting it.