Request init shape generateRequest() actually builds - deliberately not the global
RequestInit type, for the same lib.dom-vs-undici reason as FetchLikeResponse (this
time on body's FormData member: DOM's and undici's FormData classes aren't mutually
assignable). body only ever needs to hold the encrypted payload Buffer - nothing here ever
constructs a FormData, Blob, or ReadableStream body.
typeFetchLikeInit={ Â Â Â Â body?:Buffer|Uint8Array|string|null; Â Â Â Â headers?:Record<string,string>; Â Â Â Â method?:string; }
Request init shape
generateRequest()actually builds - deliberately not the globalRequestInittype, for the same lib.dom-vs-undici reason as FetchLikeResponse (this time onbody'sFormDatamember: DOM's and undici'sFormDataclasses aren't mutually assignable).bodyonly ever needs to hold the encrypted payload Buffer - nothing here ever constructs a FormData, Blob, or ReadableStream body.