SignalRMessage Class

Definition

Class that contains parameters needed for sending messages. There are three kinds of scope to send, and if more than one scopes are set, it will be resolved by the following order: 1. ConnectionId 2. UserId 3. GroupName

[Newtonsoft.Json.JsonObject]
public class SignalRMessage
[<Newtonsoft.Json.JsonObject>]
type SignalRMessage = class
Public Class SignalRMessage
Inheritance
SignalRMessage
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

SignalRMessage()

Properties

Arguments

Gets or sets the message arguments.

ConnectionId

Gets or sets the id of the connection to which the message is going to send.

Endpoints

The SignalR Service endpoints to which the message is going to send. If null, all the endpoints will be sent. You can get all the available SignalR Service endpoints with SignalREndpointsAttribute input binding.

GroupName

Gets or sets the name of the group to which the message is going to send.

Target

Gets or sets the message target.

UserId

Gets or sets the id of the user to which the message is going to send.

Applies to