This is the archived documentation for Angular v5. Please visit angular.io to see documentation for the current version of Angular.

ConnectionBackend

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

Members

      
      createConnection(request: any): Connection