Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "http"

Index

Type aliases

Headers

Headers: object

Type declaration

  • [key: string]: string | string[]

Functions

getBinary

  • getBinary(url: string): Promise<ArrayBuffer>
  • getBinary(options: HttpRequestOptions): Promise<ArrayBuffer>
  • Parameters

    • url: string

    Returns Promise<ArrayBuffer>

  • Parameters

    Returns Promise<ArrayBuffer>

getFile

  • getFile(url: string, destinationFilePath?: string): Promise<File>
  • getFile(options: HttpRequestOptions, destinationFilePath?: string): Promise<File>
  • Parameters

    • url: string
    • Optional destinationFilePath: string

    Returns Promise<File>

  • Parameters

    Returns Promise<File>

getImage

getJSON

  • Type parameters

    • T

    Parameters

    • url: string

    Returns Promise<T>

  • Type parameters

    • T

    Parameters

    Returns Promise<T>

getString

  • getString(url: string): Promise<string>
  • getString(options: HttpRequestOptions): Promise<string>
  • Parameters

    • url: string

    Returns Promise<string>

  • Parameters

    Returns Promise<string>

request

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method