Client to store and retrieve Objects

interface ObjectStorageClient {
    delete(objectMeta, options?): Promise<void>;
    destroy(): void;
    getBlob(objectMeta, options?): Promise<Blob>;
    getList(options?): Promise<ObjectStorageListResponse>;
    store(object, options?): Promise<ObjectStorageResponse>;
}

Methods

  • Delete an object

    Parameters

    • objectMeta: ObjectStorageObjectMeta

      Object meta information

    • Optional options: ObjectStorageOptions

      Request options

    Returns Promise<void>

  • Destroy the client. Always call this when the client is not used anymore. When the context is destroyed, this is called automatically

    Returns void

  • Get an Object

    Parameters

    Returns Promise<Blob>