@helia/verified-fetch
Version:
A fetch-like API for obtaining verified & trustless IPFS content on the web
10 lines • 583 B
TypeScript
import { BasePlugin } from './plugin-base.js';
import type { PluginContext, VerifiedFetchPluginFactory } from './types.js';
export declare class DirIndexHtmlPlugin extends BasePlugin {
readonly id = "dir-index-html-plugin";
readonly codes: 112[];
canHandle(context: PluginContext): boolean;
handle(context: PluginContext & Required<Pick<PluginContext, 'byteRangeContext' | 'pathDetails' | 'directoryEntries'>>): Promise<Response>;
}
export declare const dirIndexHtmlPluginFactory: VerifiedFetchPluginFactory;
//# sourceMappingURL=plugin-handle-dir-index-html.d.ts.map