@ahqstore/plugin-api - v0.0.12
    Preparing search index...

    Class HTTPOutput

    Implements

    Index

    Constructors

    Properties

    body: ArrayBuffer
    headers: Record<string, string>
    ok: boolean
    status: number
    statusText: string

    Methods

    • Converts the data into json

      Type Parameters

      • T

      Parameters

      • encoding: string = "utf-8"

        The encoding of the string, default utf-8

      Returns T

      Type of data

    • Converts the data into string

      Parameters

      • encoding: string = "utf-8"

        The encoding of the string, default utf-8

      Returns string

      string output of the data

    • Converts the data to object URL

      Returns string

      Object URL of the data