@helia/verified-fetch
Version:
A fetch-like API for obtaining verified & trustless IPFS content on the web
14 lines • 565 B
TypeScript
import { BasePlugin } from './plugin-base.js';
import type { PluginContext } from './types.js';
/**
* This plugin simply adds the ByteRangeContext to the PluginContext.
*/
export declare class ByteRangeContextPlugin extends BasePlugin {
readonly id = "byte-range-context-plugin";
/**
* Return false if the ByteRangeContext has already been set, otherwise return true.
*/
canHandle(context: PluginContext): boolean;
handle(context: PluginContext): Promise<Response | null>;
}
//# sourceMappingURL=plugin-handle-byte-range-context.d.ts.map