Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRequestStrategy

Request strategy interface

class

RequestStrategy

property

{string} name - The name of the strategy

Hierarchy

  • IRequestStrategy

Index

Properties

Methods

Properties

name

name: string

Methods

delete

  • delete(url: string, opts: object): Promise<any>

get

  • get(url: string, opts: object): 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>

Generated using TypeDoc