Nativescript plugin for https requests
    Preparing search index...

    Interface HttpsResponseLegacy<T>

    interface HttpsResponseLegacy<T = any> {
        contentLength: number;
        toArrayBuffer(): ArrayBuffer;
        toArrayBufferAsync(): Promise<ArrayBuffer>;
        toFile(destinationFilePath: string): Promise<File>;
        toImage(): Promise<ImageSource>;
        toJSON(): T;
        toJSONAsync(): Promise<T>;
        toString(): string;
        toStringAsync(): Promise<string>;
    }

    Type Parameters

    • T = any
    Index

    Properties

    contentLength: number

    Methods

    • Returns ArrayBuffer

    • Returns Promise<ArrayBuffer>

    • Parameters

      • destinationFilePath: string

      Returns Promise<File>

    • Returns Promise<ImageSource>

    • Returns T

    • Returns Promise<T>

    • Returns string

    • Returns Promise<string>