Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
typealias ChannelId = <Error class: unknown class>
Link copied to clipboard
sealed class Field
Link copied to clipboard
@Serializable(with = FrameSerializer::class)
data class Frame(val channelId: <Error class: unknown class>, val payload: Frame.Payload)
Link copied to clipboard
annotation class InternalAmqpApi
Link copied to clipboard
@Serializable(with = PropertiesSerializer::class)
data class Properties(val contentType: String? = null, val contentEncoding: String? = null, val headers: Table? = null, val deliveryMode: <Error class: unknown class>? = null, val priority: <Error class: unknown class>? = null, val correlationId: String? = null, val replyTo: String? = null, val expiration: String? = null, val messageId: String? = null, val timestamp: Long? = null, val type: String? = null, val userId: String? = null, val appId: String? = null, val reserved1: String? = null)
Link copied to clipboard
Link copied to clipboard
object Protocol
Link copied to clipboard
sealed class ProtocolError
Link copied to clipboard
typealias Table = Map<String, Field>

Functions

Link copied to clipboard

Creates a Properties using a DSL builder.

Link copied to clipboard
fun tableOf(vararg pairs: <Error class: unknown class><String, Any?>): Table

Creates a Table from a variable number of key-value pairs.

Link copied to clipboard
fun Field.toAny(): Any?

Converts a Field to an Any?, unwrapping it to its native type.

Link copied to clipboard
fun Any?.toField(): Field

Converts an Any? to a Field, wrapping it in the appropriate Field type.

Link copied to clipboard

Converts a Table to a Map, unwrapping each Field to its native type.

Link copied to clipboard
fun Map<*, *>.toTable(): Table

Converts a Map to a Table, wrapping each value in a Field.