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

Method parse

lib/types/server/state.d.ts:78–78  ·  view source on GitHub ↗

* Parses an HTTP 'Cookies' header based on the server.options.state where: * @param header - the HTTP header. * @return Return value: an object where each key is a cookie name and value is the parsed cookie. * Note that this utility uses the server configuration but does not change th

(header: string)

Source from the content-addressed store, hash-verified

76 * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-async-serverstatesparseheader)
77 */
78 parse(header: string): Promise<Record<string, string>>;
79}

Callers 5

_parseUrlMethod · 0.80
route.jsFile · 0.80
response.jsFile · 0.80
transmit.jsFile · 0.80
core.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected