HttpClientModule
NgModule
사용 중단 권고
Configures the dependency injector for HttpClient
with supporting services for XSRF. Automatically imported by HttpClientModule.
사용 중단을 권고합니다.
설명
Configures the dependency injector for HttpClient
with supporting services for XSRF. Automatically imported by HttpClientModule.
You can add interceptors to the chain behind HttpClient by binding them to the
multiprovider for built-in DI token HTTP_INTERCEPTORS.
When importing the HttpClientModule, the HttpBackend is set to using the HttpXhrBackend.
If you want to use the FetchBackend, use provideHttpClient instead.
상세 내용으로 이동