Protocol

data class Protocol(val multipart: Boolean? = true, val path: String? = null)(source)

Data class to represent an individual media upload protocol for Protocols.

Constructors

Link copied to clipboard
constructor(multipart: Boolean? = true, path: String? = null)

Properties

Link copied to clipboard
val multipart: Boolean? = true

True if this endpoint supports upload multipart media.

Link copied to clipboard
val path: String? = null

The URI path to be used for upload. Should be used in conjunction with the rootUrl property at the API-level.