MCPcopy
hub / github.com/nodejs/undici / Options

Interface Options

types/mock-agent.d.ts:55–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53declare namespace MockAgent {
54 /** MockAgent options. */
55 export interface Options extends Agent.Options {
56 /** A custom agent to be encapsulated by the MockAgent. */
57 agent?: Dispatcher;
58
59 /** Ignore trailing slashes in the path */
60 ignoreTrailingSlash?: boolean;
61
62 /** Accept URLs with search parameters using non standard syntaxes. default false */
63 acceptNonStandardSearchParameters?: boolean;
64
65 /** Enable call history. you can either call MockAgent.enableCallHistory(). default false */
66 enableCallHistory?: boolean
67 }
68}

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…