.
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
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>;
|
||||
Reference in New Issue
Block a user