MCPcopy Create free account
hub / github.com/Botloader/botloader / text

Method text

components/runtime/src/ts/httpclient.ts:305–308  ·  view source on GitHub ↗

* Read and decode the reponse body as utf8 encoded text

()

Source from the content-addressed store, hash-verified

303 * Read and decode the reponse body as utf8 encoded text
304 */
305 async text(): Promise<string> {
306 let buf = await this.readAll();
307 return decodeText(buf);
308 }
309 }
310}

Callers 4

attachment.tsFile · 0.80
get_optionMethod · 0.80
add_plugin_imageFunction · 0.80
getMethod · 0.80

Calls 2

readAllMethod · 0.95
decodeTextFunction · 0.90

Tested by

no test coverage detected