import { type FetchOptions } from "https://deno.land/x/netzo@0.4.42/integrations/create-api/types.ts";
Type Parameters
optional
R extends ResponseType = ResponseTypeProperties
optional
body: RequestInit["body"] | Record<string, any>optional
responseType: RMethods
optional
onRequest(context: FetchContext): Promise<void> | voidoptional
onRequestError(context: FetchContext & { error: Error; }): Promise<void> | voidoptional
onResponse(context: FetchContext & { response: FetchResponse<R>; }): Promise<void> | voidoptional
onResponseError(context: FetchContext & { response: FetchResponse<R>; }): Promise<void> | void