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

customUrl

the custom url to use for the storage api

jwtToken

the jwt token to use for the storage api

transferTimeout

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

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