W3cubDocs

/Angular 7

@angular/http

package deprecated

Deprecated in favor of @angular/common/http.

Entry points

Primary

@angular/http

Deprecated: all exports of this entry point are deprecated.

Deprecated in favor of @angular/common/http.

Secondary

@angular/http/testing

Deprecated: all exports of this entry point are deprecated.

Primary entry point exports

Deprecated: all exports of this entry point are deprecated.

NgModules

HttpModule

Deprecated: see https://angular.io/guide/http

The module that includes http's providers

JsonpModule

Deprecated: see https://angular.io/api/common/http/HttpClient#jsonp

The module that includes jsonp's providers

Classes

BaseRequestOptions

Deprecated: see https://angular.io/guide/http

Subclass of RequestOptions, with default values.

BaseResponseOptions

Deprecated: see https://angular.io/guide/http

Subclass of ResponseOptions, with default values.

BrowserXhr

Deprecated: see https://angular.io/guide/http

A backend for http that uses the XMLHttpRequest browser API.

Connection

Deprecated: see https://angular.io/guide/http

Abstract class from which real connections are derived.

ConnectionBackend

Deprecated: see https://angular.io/guide/http

Abstract class from which real backends are derived.

CookieXSRFStrategy

Deprecated: see https://angular.io/guide/http

XSRFConfiguration sets up Cross Site Request Forgery (XSRF) protection for the application using a cookie. See https://www.owasp.org/index.php/Cross-SiteRequest_Forgery(CSRF) for more information on XSRF.

Headers

Deprecated: see https://angular.io/guide/http

Polyfill for Headers, as specified in the Fetch Spec.

Http

Deprecated: see https://angular.io/guide/http

Performs http requests using XMLHttpRequest as the default backend.

Jsonp

Deprecated: see https://angular.io/guide/http

QueryEncoder

Deprecated: see https://angular.io/guide/http

Request

Deprecated: see https://angular.io/guide/http

Creates Request instances from provided values.

RequestOptions

Deprecated: see https://angular.io/guide/http

Creates a request options object to be optionally provided when instantiating a Request.

Response

Deprecated: see https://angular.io/guide/http

Creates Response instances from provided values.

ResponseOptions

Deprecated: see https://angular.io/guide/http

Creates a response options object to be optionally provided when instantiating a Response.

URLSearchParams

Deprecated: see https://angular.io/guide/http

Map-like representation of url search parameters, based on URLSearchParams in the url living standard, with several extensions for merging URLSearchParams objects:

  • setAll()
  • appendAll()
  • replaceAll()
XHRBackend

Deprecated: see https://angular.io/guide/http

Creates XHRConnection instances.

XHRConnection

Deprecated: see https://angular.io/guide/http

Creates connections using XMLHttpRequest. Given a fully-qualified request, an XHRConnection will immediately create an XMLHttpRequest object and send the request.

XSRFStrategy

Deprecated: see https://angular.io/guide/http

An XSRFStrategy configures XSRF protection (e.g. via headers) on an HTTP request.

Structures

JSONPBackend

Deprecated: see https://angular.io/guide/http

A ConnectionBackend that uses the JSONP strategy of making requests.

JSONPConnection

Deprecated: see https://angular.io/guide/http

Base class for an in-flight JSONP request.

ReadyState

Deprecated: see https://angular.io/guide/http

All possible states in which a connection can be, based on States from the XMLHttpRequest spec, but with an additional "CANCELLED" state.

RequestMethod

Deprecated: see https://angular.io/guide/http

Supported http methods.

RequestOptionsArgs

Deprecated: see https://angular.io/guide/http

Interface for options to construct a RequestOptions, based on RequestInit from the Fetch spec.

ResponseContentType

Deprecated: see https://angular.io/guide/http

Define which buffer to use to store the response

ResponseOptionsArgs

Deprecated: see https://angular.io/guide/http

Interface for options to construct a Response, based on ResponseInit from the Fetch spec.

ResponseType

Deprecated: see https://angular.io/guide/http

Acceptable response types to be associated with a Response, based on ResponseType from the Fetch spec.

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/http