yajsapi - Java Script high-level API
Yagna Contributor Guide

Class: Destination

yajsapi / Exports / storage / Destination

Class: Destination

storage.Destination

Hierarchy

  • Destination

Table of contents

Constructors

Methods

Constructors

constructor

Returns: Destination

Methods

download_file

download_file(destination_file: string): Promise<void>

Parameters:

Name

Type

destination_file

string

Returns: Promise<void>

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