default
Api Code Documentation / Exports / service/Client_storage_service / default
service/Client_storage_service.default
#
Implements#
Table of contents#
Constructors#
Properties#
Methods#
Constructors#
constructor• new default(settings
)
#
ParametersName | Type |
---|---|
settings | AxiosRequestConfig |
#
Defined insrc/service/Client_storage_service.ts:25
#
Properties#
axiosInstance• Private
axiosInstance: AxiosInstance
#
Defined insrc/service/Client_storage_service.ts:21
#
timeStamp• Private
timeStamp: number
= 0
#
Defined insrc/service/Client_storage_service.ts:23
#
Methods#
downloadObjectâ–¸ downloadObject(id
, secret
): Promise
<Type
<StorageObject
>>
Download an object using the matching secret
#
ParametersName | Type |
---|---|
id | string |
secret | string |
#
ReturnsPromise
<Type
<StorageObject
>>
#
Implementation ofStorageServiceClientI.downloadObject
#
Defined insrc/service/Client_storage_service.ts:91
#
getAxiosInstanceâ–¸ getAxiosInstance(): AxiosInstance
#
ReturnsAxiosInstance
#
Defined insrc/service/Client_storage_service.ts:128
#
getVersionâ–¸ getVersion(): Promise
<Version
>
Get version of conncted storage service
#
ReturnsPromise
<Version
>
#
Implementation ofStorageServiceClientI.getVersion
#
Defined insrc/service/Client_storage_service.ts:54
#
isReadyâ–¸ isReady(): Promise
<boolean
>
Get readiness sattus of storage service
#
ReturnsPromise
<boolean
>
#
Implementation of#
Defined insrc/service/Client_storage_service.ts:49
#
uploadObjectâ–¸ uploadObject(id
, name
, data
): Promise
<Type
<UploadResponse
>>
Upload an object using the
#
ParametersName | Type |
---|---|
id | string |
name | string |
data | string |
#
ReturnsPromise
<Type
<UploadResponse
>>
#
Implementation ofStorageServiceClientI.uploadObject