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(endpoint: Url): Promise<IncomingMessage>
  • This method is used internally by the HttpClient class.

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

    Parameters

    • endpoint: Url

    Returns Promise<IncomingMessage>

Static post

  • post(endpoint: Url, postData: string): Promise<IncomingMessage>
  • 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
    • postData: string

    Returns Promise<IncomingMessage>

Generated using TypeDoc