Jsonp
class
deprecated
Deprecated: see https://angular.io/guide/http
class Jsonp extends Http { request(url: string | Request, options?: RequestOptionsArgs): Observable<Response> // inherited from http/Http protected _backend: ConnectionBackend protected _defaultOptions: RequestOptions request(url: string | Request, options?: RequestOptionsArgs): Observable<Response> get(url: string, options?: RequestOptionsArgs): Observable<Response> post(url: string, body: any, options?: RequestOptionsArgs): Observable<Response> put(url: string, body: any, options?: RequestOptionsArgs): Observable<Response> delete(url: string, options?: RequestOptionsArgs): Observable<Response> patch(url: string, body: any, options?: RequestOptionsArgs): Observable<Response> head(url: string, options?: RequestOptionsArgs): Observable<Response> options(url: string, options?: RequestOptionsArgs): Observable<Response> }
Methods
request() | ||||||
---|---|---|---|---|---|---|
Performs any type of http request. First argument is required, and can either be a url or a | ||||||
|
url | string | Request | |
options | RequestOptionsArgs | Optional. Default is |
Returns
Observable<Response>
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/http/Jsonp