Config

data class Config(    var transferTimeout: Duration = 120.seconds,     resumable: Storage.Config.Resumable = Resumable(),     var serializer: SupabaseSerializer? = null) : MainConfig, CustomSerializationConfig(source)

Config for the storage plugin

Parameters

transferTimeout

the timeout for uploading and downloading files (default: 120 seconds)

resumable

the resume settings to use for the storage api

serializer

the serializer to use for the storage api, use null to use the default serializer

Constructors

Link copied to clipboard
constructor(transferTimeout: Duration = 120.seconds, resumable: Storage.Config.Resumable = Resumable(), serializer: SupabaseSerializer? = null)

Types

Link copied to clipboard
data class Resumable(var cache: ResumableCache? = null, var retryTimeout: Duration = 5.seconds, var onlyUpdateStateAfterChunk: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var serializer: SupabaseSerializer?
Link copied to clipboard

Functions

Link copied to clipboard
inline fun resumable(builder: Storage.Config.Resumable.() -> Unit)

Config for resumable uploads