Const
A fetch compliant function, that wraps undici's fetch.
Behaves the same as any fetch function except:
x-request-trace-id
http:request
Node and Undici realms can't be mixed: passing a Node Request with an Undici FormData body (or vice versa) throws a TypeError.
Request
FormData
TypeError
https://fetch.spec.whatwg.org/
URL string, URL object or Request object (undici's or Node's)
Request options
The HTTP response
A fetch compliant function, that wraps undici's fetch.
Behaves the same as any fetch function except:
x-request-trace-idwith a random UUID;http:requestevent on every call (success, error, failure).Node and Undici realms can't be mixed: passing a Node
Requestwith an UndiciFormDatabody (or vice versa) throws aTypeError.