Uploader abstract class, actual uploading logic varies per platform.

Constructors

Methods

  • Makes a POST request to a given url, with the given headers and body.

    Parameters

    • url: string

      The URL to make the POST request

    • pingRequest: default<string | Uint8Array>

    Returns Promise<UploadResult>

    The status code of the response.

  • Whether or not this uploader supports submitting custom headers.

    Returns boolean

    whether or not custom headers are supported.

Generated using TypeDoc