MockConnection

ClassStability: Experimental

Class Overview

class MockConnection {
constructor(req: Request)

readyState : ReadyState
request : Request
response : ReplaySubject<Response>
mockRespond(res: Response)
mockDownload(res: Response)
mockError(err?: Error)

}

Class Description

Class Export

export class MockConnection

Constructor

constructor(req: Request)

Class Details

exported from @angular/http/testing defined in @angular/http/testing/mock_backend.ts (line 19)