MessageType enum

Defines the type of a Hub Message.

Fields

Invocation = 1

Indicates the message is an Invocation message and implements the InvocationMessage interface.

StreamItem = 2

Indicates the message is a StreamItem message and implements the StreamItemMessage interface.

Completion = 3

Indicates the message is a Completion message and implements the CompletionMessage interface.

StreamInvocation = 4

Indicates the message is a Stream Invocation message and implements the StreamInvocationMessage interface.

CancelInvocation = 5

Indicates the message is a Cancel Invocation message and implements the CancelInvocationMessage interface.

Ping = 6

Indicates the message is a Ping message and implements the PingMessage interface.

Close = 7

Indicates the message is a Close message and implements the CloseMessage interface.