Creates a fetch function that includes base RequestInit options. This ensures requests inherit settings like credentials, mode, headers, etc. from the base init.
The base fetch function to wrap (defaults to global fetch)
Optional
The base RequestInit to merge with each request
A wrapped fetch function that merges base options with call-specific options
Creates a fetch function that includes base RequestInit options. This ensures requests inherit settings like credentials, mode, headers, etc. from the base init.