feat(http): add options method to Http (#10540)
Add options method to the Http object, which could be useful when using self-describing RESTful APIs. This closes #10500, closes #7918
This commit is contained in:

committed by
Alex Rickabaugh

parent
46bbcefb36
commit
0bd97ecda2
1
tools/public_api_guard/http/index.d.ts
vendored
1
tools/public_api_guard/http/index.d.ts
vendored
@ -64,6 +64,7 @@ export declare class Http {
|
||||
delete(url: string, options?: RequestOptionsArgs): Observable<Response>;
|
||||
get(url: string, options?: RequestOptionsArgs): Observable<Response>;
|
||||
head(url: string, options?: RequestOptionsArgs): Observable<Response>;
|
||||
options(url: string, options?: RequestOptionsArgs): Observable<Response>;
|
||||
patch(url: string, body: any, options?: RequestOptionsArgs): Observable<Response>;
|
||||
post(url: string, body: any, options?: RequestOptionsArgs): Observable<Response>;
|
||||
put(url: string, body: any, options?: RequestOptionsArgs): Observable<Response>;
|
||||
|
Reference in New Issue
Block a user