UNPKG

@helia/verified-fetch

Version:

A fetch-like API for obtaining verified & trustless IPFS content on the web

9 lines 438 B
import { BasePlugin } from './plugin-base.js'; import type { PluginContext } from './types.js'; export declare class RawPlugin extends BasePlugin { readonly id = "raw-plugin"; codes: number[]; canHandle({ cid, accept, query, byteRangeContext }: PluginContext): boolean; handle(context: PluginContext & Required<Pick<PluginContext, 'byteRangeContext'>>): Promise<Response>; } //# sourceMappingURL=plugin-handle-raw.d.ts.map