docs: add documentation for custom fetch implementation by onlywei · Pull Request #534 · unjs/ofetch · GitHub
Skip to content

docs: add documentation for custom fetch implementation#534

Open
onlywei wants to merge 1 commit into
unjs:mainfrom
onlywei:claude/fix-ofetch-533-wT63G
Open

docs: add documentation for custom fetch implementation#534
onlywei wants to merge 1 commit into
unjs:mainfrom
onlywei:claude/fix-ofetch-533-wT63G

Conversation

@onlywei

@onlywei onlywei commented Jan 6, 2026

Copy link
Copy Markdown

Document the ability to use a custom fetch function by either:

  1. Patching globalThis.fetch (primary approach)
  2. Using createFetch() for isolated instances

Fixes #533

Document the ability to use a custom fetch function by either:
1. Patching globalThis.fetch (primary approach)
2. Using createFetch() for isolated instances

Fixes unjs#533
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to pass in custom fetch fn is not documented

2 participants