InvocationMessage class

A hub message representing a non-streaming invocation.

Inheritance

Constructors

InvocationMessage({String? target, List<Object?>? arguments, List<String>? streamIds, MessageHeaders? headers, String? invocationId})

Properties

arguments List<Object?>?
The target method arguments.
final
hashCode int
The hash code for this object.
no setterinherited
headers MessageHeaders
A {@link @microsoft/signalr.MessageHeaders} dictionary containing headers attached to the message.
finalinherited
invocationId String?
The ID of the invocation relating to this message.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamIds List<String>?
The target method's stream IDs.
final
target String?
The target method name.
final
type MessageType
A MessageType value indicating the type of this message.
finalinherited

Methods

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.
inherited