Interface ApiHttpProxy

class: ApiHttpProxy

  • http proxy service.

Hierarchy

  • ApiHttpProxy

Implemented by

Methods

Methods

  • call http request via proxy server.

    url := <host>/<path?>?<param>

    Type Parameters

    • T = any

    Parameters

    • method: APIHttpMethod

      http method

    • host: string

      host name (or https://~)

    • Optional path: string

      object id

    • Optional param: any

      query paramters

    • Optional body: any

      body

    • Optional ctx: any

      context

    • Optional hash: string

      (optional) hash value (valid only for client-side).

    Returns Promise<T>

Generated using TypeDoc