-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Provide global config for axios instance #846
Comments
Fixed by #904. Once merged, following syntax will be available: HttpModule.register({ ...axios options here }); for example: HttpModule.register({ timeout: 1 }); 1+ need to update the docs |
When can this be available? |
@kamilmysliwiec, do you have any updates about this feature? |
@kamilmysliwiec Why do you use register instead of forRoot? I see the same use, but forRoot is a known method |
Because 5.2.0 is here! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm submitting a...
Current behavior
no global config possible
Expected behavior
In the request library one can specify a global config, e.g.:
axios has the create method, which needs to be implemented
We might do it like this:
Minimal reproduction of the problem with instructions
n/a
What is the motivation / use case for changing the behavior?
Environment
n/a
The text was updated successfully, but these errors were encountered: