rag-context-optimizer / frontend /node_modules /next /dist /experimental /testmode /proxy /fetch-api.d.ts
Download frontend/node_modules/next/dist/experimental/testmode/proxy/fetch-api.d.ts from netzkontrast/rag-context-optimizer: direct link, hf CLI and curl.
- Browser
- Download file 375 Bytes
-
https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/experimental/testmode/proxy/fetch-api.d.ts
- Command line
-
hf download hf://spaces/netzkontrast/rag-context-optimizer/frontend/node_modules/next/dist/experimental/testmode/proxy/fetch-api.d.ts
-
curl -L -o fetch-api.d.ts https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/experimental/testmode/proxy/fetch-api.d.ts
375 Bytes
| import type { ProxyFetchRequest, ProxyResponse } from './types'; | |
| export type FetchHandlerResult = Response | 'abort' | 'continue' | null | undefined; | |
| export type FetchHandler = (testData: string, request: Request) => FetchHandlerResult | Promise<FetchHandlerResult>; | |
| export declare function handleFetch(req: ProxyFetchRequest, onFetch: FetchHandler): Promise<ProxyResponse>; | |