ConnectionBackend

class

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

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

  • JSONPBackend
  • XHRBackend
  • MockBackend

Members

createConnection(request: any): Connection

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