Variable httpHelperConst

httpHelper: {
    configure: ((opts) => void);
    del: ((url, args?) => Promise<any>);
    event: {
        ABORT: string;
        ERROR: string;
        LOAD: string;
        LOAD_END: string;
        LOAD_START: string;
        PROGRESS: string;
        READY_STATE_CHANGE: string;
        TIMEOUT: string;
    };
    get: ((url, params?, args?) => Promise<any>);
    methods: Methods;
    options: ((url, args?) => Promise<any>);
    patch: ((url, data, args?) => Promise<any>);
    post: ((url, data, args?) => Promise<any>);
    put: ((url, data, args?) => Promise<any>);
    rqeust: ((args) => Promise<any>);
} = ...

Type declaration

  • configure: ((opts) => void)
      • (opts): void
      • Parameters

        • opts: Partial<Config<unknown>>

        Returns void

  • del: ((url, args?) => Promise<any>)
      • (url, args?): Promise<any>
      • Parameters

        • url: string
        • Optional args: Partial<Config<unknown>>

        Returns Promise<any>

  • event: {
        ABORT: string;
        ERROR: string;
        LOAD: string;
        LOAD_END: string;
        LOAD_START: string;
        PROGRESS: string;
        READY_STATE_CHANGE: string;
        TIMEOUT: string;
    }
    • ABORT: string
    • ERROR: string
    • LOAD: string
    • LOAD_END: string
    • LOAD_START: string
    • PROGRESS: string
    • READY_STATE_CHANGE: string
    • TIMEOUT: string
  • get: ((url, params?, args?) => Promise<any>)
      • (url, params?, args?): Promise<any>
      • Parameters

        • url: string
        • Optional params: Record<string, any>
        • Optional args: Partial<Config<unknown>>

        Returns Promise<any>

  • methods: Methods
  • options: ((url, args?) => Promise<any>)
      • (url, args?): Promise<any>
      • Parameters

        • url: string
        • Optional args: Partial<Config<unknown>>

        Returns Promise<any>

  • patch: ((url, data, args?) => Promise<any>)
      • (url, data, args?): Promise<any>
      • Parameters

        • url: string
        • data: any
        • Optional args: Partial<Config<unknown>>

        Returns Promise<any>

  • post: ((url, data, args?) => Promise<any>)
      • (url, data, args?): Promise<any>
      • Parameters

        • url: string
        • data: any
        • Optional args: Partial<Config<unknown>>

        Returns Promise<any>

  • put: ((url, data, args?) => Promise<any>)
      • (url, data, args?): Promise<any>
      • Parameters

        • url: string
        • data: any
        • Optional args: Partial<Config<unknown>>

        Returns Promise<any>

  • rqeust: ((args) => Promise<any>)
      • (args): Promise<any>
      • Parameters

        • args: Partial<Config<unknown>>

        Returns Promise<any>