Properties
Private http
http: HttpClient
Methods
delete
- delete(url: string, options?: any): Observable<any>
-
Parameters
-
url: string
-
Default value options: any = httpOptions
Returns Observable<any>
get
- get(url: string, params?: any, options?: any): Observable<any>
-
Parameters
-
url: string
-
Optional params: any
-
Default value options: any = httpOptions
Returns Observable<any>
mapError
- mapError(error: any): Observable<any>
-
Parameters
Returns Observable<any>
mapResponse
- mapResponse(response: any): any
patch
- patch(url: string, body: any, options?: any): Observable<any>
-
Parameters
-
url: string
-
body: any
-
Default value options: any = httpOptions
Returns Observable<any>
post
- post(url: string, body: any, options?: any): Observable<any>
-
Parameters
-
url: string
-
body: any
-
Default value options: any = httpOptions
Returns Observable<any>
put
- put(url: string, body: any, options?: any): Observable<any>
-
Parameters
-
url: string
-
body: any
-
Default value options: any = httpOptions
Returns Observable<any>
Makes an HTTP DELETE call to the given url