projects/wvr-elements/src/lib/core/rest/request.ts
Properties |
body |
body:
|
Type : any
|
Optional |
bodyHttpParams |
bodyHttpParams:
|
Type : "fromObject" | "fromString"
|
Optional |
decode |
decode:
|
Type : Array<string>
|
Optional |
map |
map:
|
Type : map
|
Optional |
method |
method:
|
Type : RequestMethod
|
options |
options:
|
Type : RequestOptions
|
Optional |
url |
url:
|
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';
}