Interface IRequestStrategy
Methods
delete
- delete(url: string, opts: object): Promise<any>
-
Parameters
Returns Promise<any>
get
- get(url: string, opts: object): Promise<any>
-
Parameters
Returns Promise<any>
patch
- patch(url: string, body: object | string | FormData, opts: object): Promise<any>
-
Parameters
-
url: string
-
body: object | string | FormData
-
opts: object
Returns Promise<any>
post
- post(url: string, body: object | string | FormData, opts: object): Promise<any>
-
Parameters
-
url: string
-
body: object | string | FormData
-
opts: object
Returns Promise<any>
put
- put(url: string, body: object | string | FormData, opts: object): Promise<any>
-
Parameters
-
url: string
-
body: object | string | FormData
-
opts: object
Returns Promise<any>
Request strategy interface
RequestStrategy
{string} name - The name of the strategy