-
-
Save anonymous/821594a7a196b81f2e4993add253d22b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class HttpClient { | |
constructor(handler: HttpHandler) | |
request(first: string | HttpRequest<any>, url?: string, options: {...}): Observable<any> | |
delete(url: string, options: {...}): Observable<any> | |
get(url: string, options: {...}): Observable<any> | |
head(url: string, options: {...}): Observable<any> | |
jsonp<T>(url: string, callbackParam: string): Observable<T> | |
options(url: string, options: {...}): Observable<any> | |
patch(url: string, body: any | null, options: {...}): Observable<any> | |
post(url: string, body: any | null, options: {...}): Observable<any> | |
put(url: string, body: any | null, options: {...}): Observable<any> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment