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

Method sendText

components/runtime/src/ts/httpclient.ts:211–214  ·  view source on GitHub ↗
(data: string)

Source from the content-addressed store, hash-verified

209 }
210
211 async sendText(data: string) {
212 const encoded = encodeText(data);
213 return this.send(new Uint8ArrayBody(encoded, "text/plain"));
214 }
215 }
216
217

Callers

nothing calls this directly

Calls 2

sendMethod · 0.95
encodeTextFunction · 0.90

Tested by

no test coverage detected