Constructors
constructor
- new Http(url: string): Http
Properties
Protected url
url: string
Methods
Protected call
- call<D, M>(remoteCall: Promise<{ body: D; response: IncomingMessage }>, mapper: (value: D, index: number) => M): Observable<M>
-
Type parameters
Parameters
-
remoteCall: Promise<{ body: D; response: IncomingMessage }>
-
mapper: (value: D, index: number) => M
-
- (value: D, index: number): M
Returns Observable<M>
createNetworkTypeObservable
errorHandling
- errorHandling(error: any): Error
Http extended by all http services