File

projects/wvr-elements/src/lib/core/rest/request-options.ts

Index

Properties

Properties

headers
headers: literal type
Type : literal type
Optional
observe
observe: "body" | "response" | "events"
Type : "body" | "response" | "events"
Optional
params
params: HttpParams | literal type
Type : HttpParams | literal type
Optional
pathVariables
pathVariables: literal type
Type : literal type
Optional
reportProgress
reportProgress: boolean
Type : boolean
Optional
responseType
responseType: "arraybuffer" | "blob" | "text" | "json"
Type : "arraybuffer" | "blob" | "text" | "json"
Optional
withCredentials
withCredentials: boolean
Type : boolean
Optional
import { HttpParams } from '@angular/common/http';

export interface RequestOptions {
  headers?: { [header: string]: string | Array<string>; };
  observe?: 'body' | 'response' | 'events';
  params?: HttpParams | { [param: string]: string | Array<string>; };
  pathVariables?: { [pathKey: string]: string; };
  reportProgress?: boolean;
  responseType?: 'arraybuffer' | 'blob' | 'text' | 'json';
  withCredentials?: boolean;
}

results matching ""

    No results matching ""