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

Interceptor clear #4248

Merged
merged 10 commits into from May 5, 2022
Merged

Interceptor clear #4248

merged 10 commits into from May 5, 2022

Conversation

Landro3
Copy link
Contributor

@Landro3 Landro3 commented Nov 4, 2021

Adds a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an axios instance.

@Landro3
Copy link
Contributor Author

Landro3 commented Nov 4, 2021

issue #4247

lib/core/InterceptorManager.js Outdated Show resolved Hide resolved
@Landro3
Copy link
Contributor Author

Landro3 commented Mar 22, 2022

can this be merged?

@jasonsaayman
Copy link
Member

jasonsaayman commented May 5, 2022

Thanks for this contribution 😄

@jasonsaayman jasonsaayman merged commit 544cf13 into axios:master May 5, 2022
3 checks passed
@TheEcho
Copy link

TheEcho commented Jun 8, 2022

The interceptorManager.clear function declaration is missing in the index.d.ts
Am I missing something or is it a real bug ?

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.

None yet

5 participants