Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NetworkClient

Hierarchy

  • NetworkClient

Index

Methods

fetchWithTimeout

  • fetchWithTimeout(resource: any, options: any): Promise<any>

get

  • get(url: string, queryParams?: string[], timeout?: undefined | number): Promise<any>
  • Parameters

    • url: string
    • Optional queryParams: string[]
    • Optional timeout: undefined | number

    Returns Promise<any>

post

  • post(url: string, queryParams?: string[], body?: any, timeout?: undefined | number): Promise<any>
  • Parameters

    • url: string
    • Optional queryParams: string[]
    • Optional body: any
    • Optional timeout: undefined | number

    Returns Promise<any>

Generated using TypeDoc