UNPKG

hook-fetch

Version:

A lightweight and modern HTTP request library developed based on the native Fetch API of the browser, providing a user-friendly interface similar to Axios and powerful extensibility.

23 lines (22 loc) 549 B
import { HookFetchPlugin } from "./types-CdktDLPc.js"; //#region src/plugins/sse.d.ts interface SSETextDecoderPluginOptions { splitSeparator: string; lineSeparator: string | undefined; trim: boolean; json: boolean; prefix: string; doneSymbol: string; } declare const sseTextDecoderPlugin: ({ splitSeparator, lineSeparator, trim, json, prefix, doneSymbol }?: Partial<SSETextDecoderPluginOptions>) => HookFetchPlugin<unknown, { sseAble: boolean; }>; //#endregion export { SSETextDecoderPluginOptions, sseTextDecoderPlugin };