StompMessage class
Represents a STOMP message received from a subscription
Constructors
-
StompMessage.new({required String messageId, required String destination, required String subscriptionId, required Map<
String, String> headers, String? body, String? ackId}) - StompMessage.fromFrame(StompFrame frame)
-
Creates a StompMessage from a MESSAGE frame
factory
Properties
- ackId → String?
-
final
- body → String?
-
final
- contentLength → int?
-
Gets the content length
no setter
- contentType → String?
-
Gets the content type
no setter
- destination → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
headers
→ Map<
String, String> -
final
- messageId → String
-
final
- requiresAck → bool
-
Whether this message requires acknowledgment
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subscriptionId → String
-
final
Methods
-
getHeader(
String name) → String? - Gets a header value
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override