MCPcopy Index your code
hub / github.com/hapijs/hapi / encoding

Method encoding

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

* Sets the string encoding scheme used to serial data into the HTTP payload where: * @param encoding the encoding property value (see node Buffer encoding [See docs](https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings)). * * 'ascii' - for 7-bit ASCII data only. This

(encoding: 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'base64' | 'latin1' | 'binary' | 'hex')

Source from the content-addressed store, hash-verified

195 * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responseencodingencoding)
196 */
197 encoding(encoding: 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'base64' | 'latin1' | 'binary' | 'hex'): ResponseObject;
198
199 /**
200 * Sets the representation entity tag where:

Callers 3

_updateCommonsMethod · 0.65
acceptMethod · 0.65
transmit.jsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected