MCPcopy
hub / github.com/unjs/ofetch / FetchContext

Interface FetchContext

src/types.ts:94–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92// --------------------------
93
94export interface FetchContext<T = any, R extends ResponseType = ResponseType> {
95 request: FetchRequest;
96 options: ResolvedFetchOptions<R>;
97 response?: FetchResponse<T>;
98 error?: Error;
99}
100
101type MaybePromise<T> = T | Promise<T>;
102type MaybeArray<T> = T | T[];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…