File

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

Index

Properties

Properties

body
body: any
Type : any
Optional
bodyHttpParams
bodyHttpParams: "fromObject" | "fromString"
Type : "fromObject" | "fromString"
Optional
decode
decode: Array<string>
Type : Array<string>
Optional
map
map: map
Type : map
Optional
method
method: RequestMethod
Type : RequestMethod
options
options: RequestOptions
Type : RequestOptions
Optional
url
url: string
Type : string
import { RequestMethod } from './request-method';
import { RequestOptions } from './request-options';

type map = (response: any) => any;

export interface Request {
  url: string;
  method: RequestMethod;
  body?: any;
  options?: RequestOptions;
  map?: map;
  decode?: Array<string>;
  bodyHttpParams?: 'fromObject' | 'fromString';
}

results matching ""

    No results matching ""