响应拦截器
(resp: unknown,reqconfig: InterceptorConfig,) => unknown | Promise<unknown>
Simple encapsulation based on web API fetch/基于 web fetch 的简单封装
响应拦截器
(resp: unknown,reqconfig: InterceptorConfig,) => unknown | Promise<unknown>
Add Package
deno add jsr:@advanced/fetcher
Import symbol
import { type ResponseInterceptor } from "@advanced/fetcher";
---- OR ----
Import directly with a jsr specifier
import { type ResponseInterceptor } from "jsr:@advanced/fetcher";
Add Package
npx jsr add @advanced/fetcher
Import symbol
import { type ResponseInterceptor } from "@advanced/fetcher";
Add Package
yarn dlx jsr add @advanced/fetcher
Import symbol
import { type ResponseInterceptor } from "@advanced/fetcher";
Add Package
pnpm dlx jsr add @advanced/fetcher
Import symbol
import { type ResponseInterceptor } from "@advanced/fetcher";
Add Package
bunx jsr add @advanced/fetcher
Import symbol
import { type ResponseInterceptor } from "@advanced/fetcher";