MockBackend

Experimental

Class

Class Overview

class MockBackend implements ConnectionBackend {
constructor()

connections : any
connectionsArray : MockConnection[]
pendingConnections : any
verifyNoPendingRequests()
resolveAllConnections()
createConnection(req: Request) : MockConnection

}

Class Description

Annotations

@Injectable()

Constructor

constructor()

Class Details

exported from @angular/http/testing/index, defined in @angular/http/testing/mock_backend.ts