DefaultTransport
type DefaultTransport = {
dispatcher: Dispatcher;
fetch: UndiciFetch | undefined;
};
A dispatcher and the fetch that must be used with it. fetch is undici's
own fetch on the full-undici Node path, or undefined (meaning: use the
global fetch) on the Bun path. The two are cached together so callers can
never observe a dispatcher paired with a mismatched fetch — see
getDefaultFetch for why the pairing matters.
Properties
dispatcher
dispatcher: Dispatcher;
fetch
fetch: UndiciFetch | undefined;