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

Allow custom fetch implementations in FetchHttpHandler #1340

Open
mbhargav294 opened this issue Jul 16, 2024 · 0 comments
Open

Allow custom fetch implementations in FetchHttpHandler #1340

mbhargav294 opened this issue Jul 16, 2024 · 0 comments
Assignees

Comments

@mbhargav294
Copy link

Hello

In fetch-http-handler.ts, a fetch call was made as part of the handle method. Request to move this fetch call as a custom method on FetchHttpHandler so it can be overridden with custom fetch implementation like:

client.config.requestHandler.customFetch = (request: Request) => customFetchImplementation(request)

@kuhe kuhe self-assigned this Jul 30, 2024
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

No branches or pull requests

2 participants