UploadOptionBuilder
class UploadOptionBuilder(serializer: SupabaseSerializer, var upsert: Boolean = false, var contentType: ContentType? = null, httpRequestOverrides: MutableList<HttpRequestOverride> = mutableListOf())(source)
Builder for uploading files with additional options
Parameters
serializer
The serializer to use for encoding the metadata
upsert
Whether to update the file if it already exists
contentType
The content type of the file. If null, the content type will be inferred from the file extension
Constructors
Link copied to clipboard
constructor(serializer: SupabaseSerializer, upsert: Boolean = false, contentType: ContentType? = null, httpRequestOverrides: MutableList<HttpRequestOverride> = mutableListOf())