yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: Destination

yajsapi / Exports / storage / Destination

Class: Destination

storage.Destination

Table of contents

Constructors

Methods

Constructors

constructor

new Destination()

Methods

download_file

download_file(destination_file): Promise

Parameters

Name

Type

destination_file

string

Returns

Promise

Defined in

yajsapi/storage/index.ts:45

download_stream

download_stream(): Promise<Content>

Returns

Promise<Content>

Defined in

yajsapi/storage/index.ts:41

upload_url

upload_url(): string

Returns

string

Defined in

yajsapi/storage/index.ts:37