Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support passing a custom fetch function #401

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Support passing a custom fetch function #401

wants to merge 6 commits into from

Conversation

slvrtrn
Copy link
Contributor

@slvrtrn slvrtrn commented Mar 11, 2025

Summary

This PR contains the changeset from #396, plus a few fixes. Closes #315

Checklist

Delete items not relevant to your PR:

  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided to include in CHANGELOG

lucacasonato and others added 3 commits March 3, 2025 15:34
This commit adds support for passing a custom `fetch` function to the web client.

This is useful if you are not using global `fetch`, but rather need to use a different implementation or wrapper, for example for because you want to to use a custom HTTP agent/client to be able to configure mTLS or h1/h2 support settings.
@slvrtrn slvrtrn requested a review from mshustov March 11, 2025 15:02
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.

Use custom fetch(er) for the web client
2 participants