Package-level declarations

Types

Link copied to clipboard
data class Attachment(val filename: String, val mimeType: String, val data: ByteString)
Link copied to clipboard
data class AttachmentCodec(var contentType: ContentTypeId = ContentTypeAttachment) : ContentCodec<Attachment>
Link copied to clipboard
typealias Composite = CompositeOuterClass.Composite
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface ContentCodec<T>
Link copied to clipboard
typealias ContentTypeId = Content.ContentTypeId
Link copied to clipboard
Link copied to clipboard
data class DecodedComposite(var parts: List<DecodedComposite> = listOf(), var encodedContent: EncodedContent? = null)
Link copied to clipboard
typealias EncodedContent = Content.EncodedContent
Link copied to clipboard
data class EncryptedEncodedContent(val contentDigest: String, val secret: ByteString, val salt: ByteString, val nonce: ByteString, val payload: ByteString, val contentLength: Int? = null, val filename: String? = null)
Link copied to clipboard
interface Fetcher
Link copied to clipboard
Link copied to clipboard
data class RemoteAttachment(val url: URL, val contentDigest: String, val secret: ByteString, val salt: ByteString, val nonce: ByteString, val scheme: String, var contentLength: Int? = null, var filename: String? = null, var fetcher: Fetcher = HTTPFetcher())
Link copied to clipboard
data class RemoteAttachmentCodec(var contentType: ContentTypeId = ContentTypeRemoteAttachment) : ContentCodec<RemoteAttachment>
Link copied to clipboard
data class TextCodec(var contentType: ContentTypeId = ContentTypeText) : ContentCodec<String>

Functions

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val ContentTypeAttachment: Content.ContentTypeId
Link copied to clipboard
val ContentTypeComposite: Content.ContentTypeId
Link copied to clipboard
val ContentTypeRemoteAttachment: Content.ContentTypeId
Link copied to clipboard
val ContentTypeText: Content.ContentTypeId
Link copied to clipboard
val id: String
Link copied to clipboard