Connection

class deprecated

npm Package @angular/http
Module import { Connection } from '@angular/http';
Source http/src/interfaces.ts

Deprecation Notes

use @angular/common/http instead

Overview

class Connection {
  readyState: ReadyState
  request: Request
  response: any
}

Description

Abstract class from which real connections are derived.

Subclasses

  • XHRConnection
  • MockConnection

Members

readyState: ReadyState

request: Request

response: any

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