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

Method type

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

* Sets the HTTP 'Content-Type' header where: * @param mimeType - is the mime type. * @return Return value: the current response object. * Should only be used to override the built-in default for each response type. * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-r

(mimeType: string)

Source from the content-addressed store, hash-verified

290 * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsetypemimetype)
291 */
292 type(mimeType: string): ResponseObject;
293
294 /**
295 * Clears the HTTP cookie by setting an expired value where:

Callers 10

headers.jsFile · 0.65
encodingMethod · 0.65
headers.jsFile · 0.65
transmit.jsFile · 0.65
handlerFunction · 0.65
handlerFunction · 0.65
marshalFunction · 0.65
index.tsFile · 0.65
processAuthGenericFunction · 0.65
processAuthConcreteFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected