MCPcopy
hub / github.com/hapijs/hapi / code

Method code

lib/types/response.d.ts:157–157  ·  view source on GitHub ↗

* Sets the HTTP status code where: * @param statusCode - the HTTP status code (e.g. 200). * @return Return value: the current response object. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsecodestatuscode)

(statusCode: number)

Source from the content-addressed store, hash-verified

155 * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsecodestatuscode)
156 */
157 code(statusCode: number): ResponseObject;
158
159 /**
160 * Sets the HTTP status message where:

Callers 15

cors.jsFile · 0.65
headers.jsFile · 0.65
transmit.jsFile · 0.65
entityMethod · 0.65
pre1Function · 0.65
preFunction · 0.65
headers.jsFile · 0.65
validation.jsFile · 0.65
transmit.jsFile · 0.65
proxyHandlerFunction · 0.65
handlerFunction · 0.65
handlerFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected