foo-webview-sdk
    Preparing search index...

    Interface HttpDownloadSuccess

    Successful response from http.download.

    interface HttpDownloadSuccess {
        async?: boolean;
        bytesWritten?: number;
        message?: string;
        path?: string;
        requestId?: string;
        status?: number;
        success: true;
    }
    Index
    async?: boolean

    true in an async receipt.

    bytesWritten?: number

    Bytes written; present when the download finished synchronously.

    message?: string

    Download started in an async receipt.

    path?: string

    The file written, with path variables expanded; present when the download finished synchronously.

    requestId?: string

    Id of the download; present in an async receipt. http:downloadComplete and http.abort use it.

    status?: number

    HTTP status code; present when the download finished synchronously.

    success: true

    Always true here; a failed call resolves with ApiFailure instead.