angular/packages/common/http/src
Andrew Kushnir ddbc4931e6 refactor(common): make provideHttpClient return EnvironmentProviders (#47758)
This commit updates the `provideHttpClient` function to return the `EnvironmentProviders` instead of a regular `Provider[]`, to make sure that the `provideHttpClient` can only be used where an environment is being setup.

PR Close #47758
2022-10-13 16:44:59 +00:00
..
backend.ts refactor(http): introduce the functional interceptors API (#47502) 2022-10-06 19:02:45 +00:00
client.ts docs(http): Update HttClient "JSON object" to "JavaScript object" (#47325) 2022-09-03 11:00:43 -07:00
context.ts feat(http): add has() method to HttpContext class (#43887) 2021-11-04 18:52:18 +00:00
headers.ts docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
interceptor.ts refactor(http): convert NgModules to use provideHttpClient internally (#47502) 2022-10-06 19:02:45 +00:00
jsonp.ts refactor(http): convert the JSONP interceptor to the functional style (#47502) 2022-10-06 19:02:45 +00:00
module.ts docs(http): fix copy-paste error in HttpClientJsonpModule docs (#47502) 2022-10-06 19:02:46 +00:00
params.ts fix(common): properly cast http param values to strings (#42643) 2022-05-04 12:43:37 -07:00
provider.ts refactor(common): make provideHttpClient return EnvironmentProviders (#47758) 2022-10-13 16:44:59 +00:00
request.ts feat(common): add URLSearchParams to request body (#37852) 2021-05-07 10:45:02 -04:00
response.ts refactor(common): ensure compatibility with noImplicitOverride (#42512) 2021-07-12 13:11:16 -07:00
xhr.ts docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
xsrf.ts fix(http): better handle unexpected undefined XSRF tokens (#47683) 2022-10-06 16:41:06 -07:00