GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing next.angular.dev — HttpClient • Angular @returns HttpClientSends an @returns Observable<HttpEvent<R>>Constructs a request that interprets the body as an @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe?: "body" | undefined; responseType: "arraybuffer"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<ArrayBuffer>Constructs a request that interprets the body as a blob and returns the response as a blob. @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe?: "body" | undefined; responseType: "blob"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<Blob>Constructs a request that interprets the body as a text string and returns a string value. @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe?: "body" | undefined; responseType: "text"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<string>Constructs a request that interprets the body as an @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe: "events"; responseType: "arraybuffer"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<ArrayBuffer>>Constructs a request that interprets the body as a @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe: "events"; responseType: "blob"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<Blob>>Constructs a request which interprets the body as a text string and returns the full event stream. @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe: "events"; responseType: "text"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<string>>Constructs a request which interprets the body as a JavaScript object and returns the full event stream. @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<any>>Constructs a request which interprets the body as a JavaScript object and returns the full event stream. @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<R>>Constructs a request which interprets the body as an @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe: "response"; responseType: "arraybuffer"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<ArrayBuffer>>Constructs a request which interprets the body as a @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe: "response"; responseType: "blob"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<Blob>>Constructs a request which interprets the body as a text stream and returns the full
@parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe: "response"; responseType: "text"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<string>>Constructs a request which interprets the body as a JavaScript object and returns the full
@parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<Object>>Constructs a request which interprets the body as a JavaScript object and returns
the full @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions { body?: any; observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<R>>Constructs a request which interprets the body as a JavaScript object and returns the full
@parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions ({ body?: any; observe?: "body" | undefined; responseType?: "json" | undefined; } & HttpClientCommonOptions) | undefinedThe HTTP options to send with the request. @returns Observable<Object>Constructs a request which interprets the body as a JavaScript object with the response body of the requested type. @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions ({ body?: any; observe?: "body" | undefined; responseType?: "json" | undefined; } & HttpClientCommonOptions) | undefinedThe HTTP options to send with the request. @returns Observable<R>Constructs a request where response type and requested observable are not known statically. @parammethod stringThe HTTP method. @paramurl stringThe endpoint URL. @paramoptions ({ body?: any; observe?: "body" | "events" | "response" | undefined; responseType?: "arraybuffer" | "blob" | "json" | "text" | undefined; } & HttpClientCommonOptions) | undefinedThe HTTP options to send with the request. @returns Observable<any>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe?: "body" | undefined; responseType: "arraybuffer"; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<ArrayBuffer>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe?: "body" | undefined; responseType: "blob"; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<Blob>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe?: "body" | undefined; responseType: "text"; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<string>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType: "arraybuffer"; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<ArrayBuffer>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType: "blob"; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<Blob>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType: "text"; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<string>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType?: "json" | undefined; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<Object>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType?: "json" | undefined; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<T>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType: "arraybuffer"; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<ArrayBuffer>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType: "blob"; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<Blob>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType: "text"; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<string>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType?: "json" | undefined; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<Object>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType?: "json" | undefined; body?: any; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<T>>Constructs a @paramurl stringThe endpoint URL. @paramoptions ({ observe?: "body" | undefined; responseType?: "json" | undefined; body?: any; } & HttpClientCommonOptions) | undefinedThe HTTP options to send with the request. @returns Observable<Object>Constructs a DELETE request that interprets the body as JSON and returns the response in a given type. @paramurl stringThe endpoint URL. @paramoptions ({ observe?: "body" | undefined; responseType?: "json" | undefined; body?: any; } & HttpClientCommonOptions) | undefinedThe HTTP options to send with the request. @returns Observable<T>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe?: "body" | undefined; responseType: "arraybuffer"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<ArrayBuffer>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe?: "body" | undefined; responseType: "blob"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<Blob>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe?: "body" | undefined; responseType: "text"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<string>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType: "arraybuffer"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<ArrayBuffer>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType: "blob"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<Blob>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType: "text"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<string>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<Object>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<T>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType: "arraybuffer"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<ArrayBuffer>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType: "blob"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<Blob>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType: "text"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<string>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<Object>>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<T>>Constructs a @paramurl stringThe endpoint URL. @paramoptions ({ observe?: "body" | undefined; responseType?: "json" | undefined; } & HttpClientCommonOptions) | undefinedThe HTTP options to send with the request. @returns Observable<Object>Constructs a @paramurl stringThe endpoint URL. @paramoptions ({ observe?: "body" | undefined; responseType?: "json" | undefined; } & HttpClientCommonOptions) | undefinedThe HTTP options to send with the request. @returns Observable<T>Constructs a @paramurl stringThe endpoint URL. @paramoptions { observe?: "body" | undefined; responseType: "arraybuffer"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<ArrayBuffer>Constructs a `HEAD` request that interprets the body as a `Blob` and returns the response as a `Blob`. @paramurl stringThe endpoint URL. @paramoptions { observe?: "body" | undefined; responseType: "blob"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<Blob>Constructs a `HEAD` request that interprets the body as a text string and returns the response as a string value. @paramurl stringThe endpoint URL. @paramoptions { observe?: "body" | undefined; responseType: "text"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<string>Constructs a `HEAD` request that interprets the body as an `ArrayBuffer` and returns the full event stream. @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType: "arraybuffer"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<ArrayBuffer>>Constructs a `HEAD` request that interprets the body as a `Blob` and returns the full event stream. @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType: "blob"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<Blob>>Constructs a `HEAD` request that interprets the body as a text string and returns the full event stream. @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType: "text"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<string>>Constructs a `HEAD` request that interprets the body as JSON and returns the full HTTP event stream. @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<Object>>Constructs a `HEAD` request that interprets the body as JSON and returns the full event stream. @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpEvent<T>>Constructs a `HEAD` request that interprets the body as an `ArrayBuffer` and returns the full HTTP response. @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType: "arraybuffer"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<ArrayBuffer>>Constructs a `HEAD` request that interprets the body as a `Blob` and returns the full `HttpResponse`. @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType: "blob"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<Blob>>Constructs a `HEAD` request that interprets the body as text stream and returns the full `HttpResponse`. @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType: "text"; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<string>>Constructs a `HEAD` request that interprets the body as JSON and returns the full `HttpResponse`. @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<Object>>Constructs a `HEAD` request that interprets the body as JSON and returns the full `HttpResponse`. @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsThe HTTP options to send with the request. @returns Observable<HttpResponse<T>>Constructs a `HEAD` request that interprets the body as JSON and returns the response body as an object parsed from JSON. @paramurl stringThe endpoint URL. @returns Observable<Object>Constructs a `HEAD` request that interprets the body as JSON and returns the response in a given type. @paramurl stringThe endpoint URL. @returns Observable<T>Constructs a @deprecated JSONP is deprecated as it can cause XSS vulnerabilities. Use standard HTTP requests instead. Intent to remove in future versions of Angular. @paramurl stringThe resource URL. @paramcallbackParam stringThe callback function name. @returns Observable<Object>Constructs a @deprecated JSONP is deprecated as it can cause XSS vulnerabilities. Use standard HTTP requests instead. Intent to remove in future versions of Angular. @paramurl stringThe resource URL. @paramcallbackParam stringThe callback function name. You must install a suitable interceptor, such as one provided by @returns Observable<T>Constructs an @paramurl stringThe endpoint URL. @paramoptions { observe?: "body" | undefined; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options. @returns Observable<ArrayBuffer>Constructs an `OPTIONS` request that interprets the body as a `Blob` and returns the response as a `Blob`. @paramurl stringThe endpoint URL. @paramoptions { observe?: "body" | undefined; responseType: "blob"; } & HttpClientCommonOptionsHTTP options. @returns Observable<Blob>Constructs an `OPTIONS` request that interprets the body as a text string and returns a string value. @paramurl stringThe endpoint URL. @paramoptions { observe?: "body" | undefined; responseType: "text"; } & HttpClientCommonOptionsHTTP options. @returns Observable<string>Constructs an @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options. @returns Observable<HttpEvent<ArrayBuffer>>Constructs an `OPTIONS` request that interprets the body as a `Blob` and returns the full event stream. @paramurl stringThe endpoint URL. @returns Observable<HttpEvent<Blob>>Constructs an `OPTIONS` request that interprets the body as a text string and returns the full event stream. @paramurl stringThe endpoint URL. @returns Observable<HttpEvent<string>>Constructs an `OPTIONS` request that interprets the body as JSON and returns the full event stream. @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options. @returns Observable<HttpEvent<Object>>Constructs an `OPTIONS` request that interprets the body as JSON and returns the full event stream. @paramurl stringThe endpoint URL. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options. @returns Observable<HttpEvent<T>>Constructs an @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options. @returns Observable<HttpResponse<ArrayBuffer>>Constructs an `OPTIONS` request that interprets the body as a `Blob` and returns the full `HttpResponse`. @paramurl stringThe endpoint URL. @returns Observable<HttpResponse<Blob>>Constructs an `OPTIONS` request that interprets the body as text stream and returns the full `HttpResponse`. @paramurl stringThe endpoint URL. @returns Observable<HttpResponse<string>>Constructs an `OPTIONS` request that interprets the body as JSON and returns the full `HttpResponse`. @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options. @returns Observable<HttpResponse<Object>>Constructs an `OPTIONS` request that interprets the body as JSON and returns the full `HttpResponse`. @paramurl stringThe endpoint URL. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options. @returns Observable<HttpResponse<T>>Constructs an `OPTIONS` request that interprets the body as JSON and returns the response body as an object parsed from JSON. @paramurl stringThe endpoint URL. @returns Observable<Object>Constructs an `OPTIONS` request that interprets the body as JSON and returns the response in a given type. @paramurl stringThe endpoint URL. @returns Observable<T>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @paramoptions { observe?: "body" | undefined; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options. @returns Observable<ArrayBuffer>Constructs a `PATCH` request that interprets the body as a `Blob` and returns the response as a `Blob`. @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @paramoptions { observe?: "body" | undefined; responseType: "blob"; } & HttpClientCommonOptionsHTTP options. @returns Observable<Blob>Constructs a `PATCH` request that interprets the body as a text string and returns the response as a string value. @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @paramoptions { observe?: "body" | undefined; responseType: "text"; } & HttpClientCommonOptionsHTTP options. @returns Observable<string>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @paramoptions { observe: "events"; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options. @returns Observable<HttpEvent<ArrayBuffer>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @returns Observable<HttpEvent<Blob>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @returns Observable<HttpEvent<string>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options. @returns Observable<HttpEvent<Object>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options. @returns Observable<HttpEvent<T>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @paramoptions { observe: "response"; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options. @returns Observable<HttpResponse<ArrayBuffer>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @returns Observable<HttpResponse<Blob>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @returns Observable<HttpResponse<string>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options. @returns Observable<HttpResponse<Object>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options. @returns Observable<HttpResponse<T>>Constructs a `PATCH` request that interprets the body as JSON and returns the response body as an object parsed from JSON. @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @returns Observable<Object>Constructs a `PATCH` request that interprets the body as JSON and returns the response in a given type. @paramurl stringThe endpoint URL. @parambody anyThe resources to edit. @returns Observable<T>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @paramoptions { observe?: "body" | undefined; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options. @returns Observable<ArrayBuffer>Constructs a `POST` request that interprets the body as a `Blob` and returns the response as a `Blob`. @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @paramoptions { observe?: "body" | undefined; responseType: "blob"; } & HttpClientCommonOptionsHTTP options @returns Observable<Blob>Constructs a `POST` request that interprets the body as a text string and returns the response as a string value. @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @paramoptions { observe?: "body" | undefined; responseType: "text"; } & HttpClientCommonOptionsHTTP options @returns Observable<string>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @paramoptions { observe: "events"; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpEvent<ArrayBuffer>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @returns Observable<HttpEvent<Blob>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @returns Observable<HttpEvent<string>>Constructs a POST request that interprets the body as JSON and returns the full event stream. @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpEvent<Object>>Constructs a POST request that interprets the body as JSON and returns the full event stream. @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpEvent<T>>Constructs a POST request that interprets the body as an @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @paramoptions { observe: "response"; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpResponse<ArrayBuffer>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @returns Observable<HttpResponse<Blob>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @returns Observable<HttpResponse<string>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpResponse<Object>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpResponse<T>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @returns Observable<Object>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe content to replace with. @returns Observable<T>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @paramoptions { observe?: "body" | undefined; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options. @returns Observable<ArrayBuffer>Constructs a `QUERY` request that interprets the body as a `Blob` and returns the response as a `Blob`. @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @paramoptions { observe?: "body" | undefined; responseType: "blob"; } & HttpClientCommonOptionsHTTP options @returns Observable<Blob>Constructs a `QUERY` request that interprets the body as a text string and returns the response as a string value. @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @paramoptions { observe?: "body" | undefined; responseType: "text"; } & HttpClientCommonOptionsHTTP options @returns Observable<string>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @paramoptions { observe: "events"; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpEvent<ArrayBuffer>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @returns Observable<HttpEvent<Blob>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @returns Observable<HttpEvent<string>>Constructs a QUERY request that interprets the body as JSON and returns the full event stream. @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpEvent<Object>>Constructs a QUERY request that interprets the body as JSON and returns the full event stream. @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpEvent<T>>Constructs a QUERY request that interprets the body as an @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @paramoptions { observe: "response"; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpResponse<ArrayBuffer>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @returns Observable<HttpResponse<Blob>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @returns Observable<HttpResponse<string>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpResponse<Object>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpResponse<T>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @returns Observable<Object>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe query parameters or payload to send. @returns Observable<T>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @paramoptions { observe?: "body" | undefined; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options @returns Observable<ArrayBuffer>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @paramoptions { observe?: "body" | undefined; responseType: "blob"; } & HttpClientCommonOptionsHTTP options @returns Observable<Blob>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @paramoptions { observe?: "body" | undefined; responseType: "text"; } & HttpClientCommonOptionsHTTP options @returns Observable<string>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @paramoptions { observe: "events"; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpEvent<ArrayBuffer>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @returns Observable<HttpEvent<Blob>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @returns Observable<HttpEvent<string>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpEvent<Object>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @paramoptions { observe: "events"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpEvent<T>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @paramoptions { observe: "response"; responseType: "arraybuffer"; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpResponse<ArrayBuffer>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @returns Observable<HttpResponse<Blob>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @returns Observable<HttpResponse<string>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpResponse<Object>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @paramoptions { observe: "response"; responseType?: "json" | undefined; } & HttpClientCommonOptionsHTTP options @returns Observable<HttpResponse<T>>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @returns Observable<Object>Constructs a @paramurl stringThe endpoint URL. @parambody anyThe resources to add/update. @returns Observable<T>DescriptionPerforms HTTP requests.
This service is available as an injectable class, with methods to perform HTTP requests.
Each request method has multiple signatures, and the return type varies based on
the signature that is called (mainly the values of Note that the Usage NotesHTTP Request Example
Alternatively, the parameter string can be used without invoking HttpParams by directly joining to the URL.
PATCH Example
|
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |