MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / send_buffer

Method send_buffer

webiojs/src/session.ts:270–277  ·  view source on GitHub ↗
(data: Blob, onprogress?: (loaded: number, total: number) => void)

Source from the content-addressed store, hash-verified

268 }
269
270 send_buffer(data: Blob, onprogress?: (loaded: number, total: number) => void): void {
271 if (this.debug) console.info('<<< Blob data...');
272 this.sender.add_send_task({
273 data: data,
274 json: false,
275 onprogress: onprogress,
276 }, false)
277 }
278
279 _send(params: { [key: string]: any; }[], seq: number): Promise<void> {
280 if (this.closed()) {

Callers

nothing calls this directly

Calls 1

add_send_taskMethod · 0.80

Tested by

no test coverage detected