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

Fetch Instance #10

Closed
nanotime opened this issue Jul 27, 2023 · 0 comments · Fixed by #11
Closed

Fetch Instance #10

nanotime opened this issue Jul 27, 2023 · 0 comments · Fixed by #11
Assignees
Labels
feature New feature or request

Comments

@nanotime
Copy link
Owner

Is your feature request related to a problem? Please describe.
The plugin need an inner full fetch instance to use internally on the different methods. This allows the users to use full vanilla fetch if they want and create inner instances with their own config.

Describe the solution you'd like
The method could be used like:

const instance = new HttpPlease({ ... });

instance.fetch(url, options); // using the full fetch API.

Describe alternatives you've considered
...

Additional context
This is primarily for better dev experience and sensibility.

@nanotime nanotime added the feature New feature or request label Jul 27, 2023
@nanotime nanotime self-assigned this Jul 27, 2023
@nanotime nanotime linked a pull request Jul 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

1 participant