Skip to content

[Feature Request] Allow passing a custom fetch function for the fetch http client #219

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

Closed
sushruth opened this issue Apr 1, 2021 · 1 comment

Comments

@sushruth
Copy link
Contributor

sushruth commented Apr 1, 2021

Allowing to pass a custom fetch function enables a few things -

  • Add implicit telemetry to the fetch function
  • hook into before and after the function call is made in a generic way
  • Handle special cases in a generic way around fetch function itself
@sushruth
Copy link
Contributor Author

sushruth commented Apr 3, 2021

Solution seems to have merged. This issue can be closed.

@sushruth sushruth closed this as completed Apr 3, 2021
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

1 participant