Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Http

A class used internally by the HttpClient to work with http urls.

see

HttpClient The HttpClient class should be used instead of this one.

Hierarchy

  • Http

Index

Methods

Methods

Static get

  • get(path: string, query: string): Promise<string>
  • This method is used internally by the HttpClient class.

    It is not recommended to use this method directly. Use HttpClient.get instead.

    Parameters

    • path: string
    • query: string

    Returns Promise<string>

Static post

  • post(endpoint: Url, params?: object): Promise<any>
  • This method is used internally by the HttpClient class.

    It is not recommended to use this method directly. Use HttpClient.post instead.

    Parameters

    • endpoint: Url
    • Optional params: object
      • [id: string]: any

    Returns Promise<any>

Generated using TypeDoc