An outgoing HTTP request with an optional typed body.
class HttpRequest<T> { readonly body: T | null; readonly headers: HttpHeaders; readonly context: HttpContext; readonly reportProgress: boolean; readonly withCredentials: boolean; readonly responseType: "blob" | "text" | "arraybuffer" | "json"; readonly method: string; readonly params: HttpParams; readonly urlWithParams: string; readonly transferCache?: boolean | { includeHeaders?: string[] | undefined; } | undefined; serializeBody(): string | ArrayBuffer | Blob | FormData | URLSearchParams | null; detectContentTypeHeader(): string | null; clone(): HttpRequest<T>; clone(update: { headers?: HttpHeaders | undefined; context?: HttpContext | undefined; reportProgress?: boolean | undefined; params?: HttpParams | undefined; ... 7 more ...; setParams?: { ...; } | undefined; }): HttpRequest<T>; clone<V>(update: { headers?: HttpHeaders | undefined; context?: HttpContext | undefined; reportProgress?: boolean | undefined; params?: HttpParams | undefined; ... 7 more ...; setParams?: { ...; } | undefined; }): HttpRequest<V>;}