MqttHeaders

Specifies MQTT Version 5.0 headers information. For more information, see MQTT from Amazon Web Services IoT Core Developer Guide.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A UTF-8 encoded string that describes the content of the publishing message.

Link copied to clipboard

The base64-encoded binary data used by the sender of the request message to identify which request the response message is for when it's received.

Link copied to clipboard

A user-defined integer value that will persist a message at the message broker for a specified amount of time to ensure that the message will expire if it's no longer relevant to the subscriber. The value of messageExpiry represents the number of seconds before it expires. For more information about the limits of messageExpiry, see Amazon Web Services IoT Core message broker and protocol limits and quotas from the Amazon Web Services Reference Guide.

Link copied to clipboard

An Enum string value that indicates whether the payload is formatted as UTF-8.

Link copied to clipboard

A UTF-8 encoded string that's used as the topic name for a response message. The response topic is used to describe the topic which the receiver should publish to as part of the request-response flow. The topic must not contain wildcard characters.

Link copied to clipboard

An array of key-value pairs that you define in the MQTT5 header.

Functions

Link copied to clipboard
inline fun copy(block: MqttHeaders.Builder.() -> Unit = {}): MqttHeaders
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String