MessageType enum
Defines the type of a Hub Message.
Constructors
- MessageType()
-
const
Values
- Undefined → const MessageType
-
MessageType is not defined.
- Invocation → const MessageType
-
Indicates the message is an Invocation message and implements the {@link @microsoft/signalr.InvocationMessage} interface.
- StreamItem → const MessageType
-
Indicates the message is a StreamItem message and implements the {@link @microsoft/signalr.StreamItemMessage} interface.
- Completion → const MessageType
-
Indicates the message is a Completion message and implements the {@link @microsoft/signalr.CompletionMessage} interface.
- StreamInvocation → const MessageType
-
Indicates the message is a Stream Invocation message and implements the {@link @microsoft/signalr.StreamInvocationMessage} interface.
- CancelInvocation → const MessageType
-
Indicates the message is a Cancel Invocation message and implements the {@link @microsoft/signalr.CancelInvocationMessage} interface.
- Ping → const MessageType
-
Indicates the message is a Ping message and implements the {@link @microsoft/signalr.PingMessage} interface.
- Close → const MessageType
-
Indicates the message is a Close message and implements the {@link @microsoft/signalr.CloseMessage} interface.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
MessageType> - A constant List of the values in this enum, in order of their declaration.