JS API Reference
Class: UploadData
script/command.UploadData
Hierarchy
Transfer
↳
UploadData
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new UploadData(storageProvider
, src
, dstPath
): UploadData
Parameters
Name | Type |
---|---|
storageProvider | StorageProvider |
src | Uint8Array |
dstPath | string |
Returns
Overrides
Transfer.constructor
Defined in
Properties
from
• Protected
Optional
from: string
Inherited from
Transfer.from
Defined in
to
• Protected
Optional
to: string
Inherited from
Transfer.to
Defined in
args
• Protected
args: Record
<string
, unknown
>
Inherited from
Transfer.args
Defined in
Methods
before
▸ before(): Promise
<void
>
Returns
Promise
<void
>
Overrides
Transfer.before
Defined in
after
▸ after(result
): Promise
<Result
<any
>>
Parameters
Name | Type |
---|---|
result | Result <any > |
Returns
Promise
<Result
<any
>>
Overrides
Transfer.after
Defined in
toJson
▸ toJson(): Object
Returns
Object
Inherited from
Transfer.toJson
Defined in
toExeScriptRequest
▸ toExeScriptRequest(): ExeScriptRequest
Returns
ExeScriptRequest
Inherited from
Transfer.toExeScriptRequest