MCPcopy Create free account
hub / github.com/ScattrdBlade/bigFileUpload / rawFetch

Function rawFetch

native.ts:84–86  ·  view source on GitHub ↗
(url: string, method: string, fileBuffer: ArrayBuffer, headers: Record<string, string> = {})

Source from the content-addressed store, hash-verified

82}
83
84function rawFetch(url: string, method: string, fileBuffer: ArrayBuffer, headers: Record<string, string> = {}): Promise<Response> {
85 return streamFetch(url, method, headers, [new Uint8Array(fileBuffer)]);
86}
87
88export async function uploadToNest(
89 _: IpcMainInvokeEvent,

Callers 4

uploadToS3Function · 0.85
uploadToBuzzheavierFunction · 0.85
uploadToPixelDrainFunction · 0.85
uploadToWebdavFunction · 0.85

Calls 1

streamFetchFunction · 0.85

Tested by

no test coverage detected