UNPKG

ipfs-http-client

Version:
19 lines 893 B
/** * @typedef {import('ipfs-core-types/src/utils').ImportCandidateStream} ImportCandidateStream * @typedef {import('ipfs-core-types/src/utils').ImportCandidate} ImportCandidate */ /** * @param {ImportCandidateStream|ImportCandidate} source * @param {AbortController} abortController * @param {Headers|Record<string, string>} [headers] * @param {string} [boundary] */ export function multipartRequest(source: ImportCandidateStream | ImportCandidate, abortController: AbortController, headers?: Headers | Record<string, string> | undefined, boundary?: string | undefined): Promise<{ parts: null; total: number; headers: any; body: any; }>; export type ImportCandidateStream = import('ipfs-core-types/src/utils').ImportCandidateStream; export type ImportCandidate = import('ipfs-core-types/src/utils').ImportCandidate; //# sourceMappingURL=multipart-request.node.d.ts.map