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

Add ability to pass in fetch options for urlTokenBaseHTTPClient requests #858

Open
PhearZero opened this issue Feb 23, 2024 · 1 comment
Labels
new-feature-request Feature request that needs triage

Comments

@PhearZero
Copy link
Contributor

PhearZero commented Feb 23, 2024

Problem

There is no way to abort the execution of a fetch request mid-flight. There is limited access to the fetch options and it is currently not possible to set the signal key to an AbortSignal from an AbortController.

Solution

Allow for all additional options to be passed to the fetch client. This will also solve any future use cases that rely on access to the fetch options.

client.getSomeRequest().do( headers, {signal} )

Urgency

Very low

@PhearZero PhearZero added the new-feature-request Feature request that needs triage label Feb 23, 2024
@jasonpaulos
Copy link
Member

Good suggestion. I'll add this to the issues to be considered for v3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature-request Feature request that needs triage
Projects
None yet
Development

No branches or pull requests

2 participants