angular / 5.2.11 / api / http / connectionbackend.html /

ConnectionBackend

class deprecated

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

Deprecation Notes

use @angular/common/http instead

Overview

class ConnectionBackend {
  createConnection(request: any): Connection
}

Description

Abstract class from which real backends are derived.

The primary purpose of a ConnectionBackend is to create new connections to fulfill a given Request.

Subclasses

  • XHRBackend
  • MockBackend

Members

createConnection(request: any): Connection

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