Hierarchy

  • IHttpRequest

Properties

Properties

get: ((url: string, headers: Record<string, string>, data: Record<string, string>, successCb: ((json: unknown) => void), errorCb: ((e: string) => void)) => void)

Type declaration

    • (url: string, headers: Record<string, string>, data: Record<string, string>, successCb: ((json: unknown) => void), errorCb: ((e: string) => void)): void
    • Parameters

      • url: string
      • headers: Record<string, string>
      • data: Record<string, string>
      • successCb: ((json: unknown) => void)
          • (json: unknown): void
          • Parameters

            • json: unknown

            Returns void

      • errorCb: ((e: string) => void)
          • (e: string): void
          • Parameters

            • e: string

            Returns void

      Returns void

post: ((url: string, headers: Record<string, string>, data: string, successCb: (() => void), errorCb: ((e: string) => void)) => void)

Type declaration

    • (url: string, headers: Record<string, string>, data: string, successCb: (() => void), errorCb: ((e: string) => void)): void
    • Parameters

      • url: string
      • headers: Record<string, string>
      • data: string
      • successCb: (() => void)
          • (): void
          • Returns void

      • errorCb: ((e: string) => void)
          • (e: string): void
          • Parameters

            • e: string

            Returns void

      Returns void

Generated using TypeDoc