W3cubDocs

/Angular 2

ConnectionBackend

Experimental Class

Class Overview

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

Class 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.

Class Details

createConnection(request: any) : Connection

exported from @angular/http/index, defined in @angular/http/src/interfaces.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/http/index/ConnectionBackend-class.html