import { type Interceptors } from "https://deno.land/x/http_fns@v0.0.27/types.ts";
Declare a set of interceptors, for use with the intercept
function.
Type Parameters
optional
R = Response | nullProperties
optional
request: readonly RequestInterceptor<A>[]A chain of RequestInterceptor functions that may return a modified or new Request that is passed to the handler
optional
response: readonly ResponseInterceptor<R>[]A chain of ResponseInterceptor functions that may modify the Response from the handler
optional
error: readonly ErrorInterceptor<R>[]A chain of ErrorInterceptor functions that may modify the Response from the handler