C# 클래스 Microsoft.AspNetCore.SignalR.ConnectionExtensions

파일 보기 프로젝트 열기: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

공개 메소드들

메소드 설명
Broadcast ( this connection, object value ) : System.Threading.Tasks.Task

Broadcasts a value to all connections, excluding the connection ids specified.

Send ( this connection, IList connectionIds, object value ) : System.Threading.Tasks.Task

Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id.

Send ( this connection, string connectionId, object value ) : System.Threading.Tasks.Task

Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id.

메소드 상세

Broadcast() 공개 정적인 메소드

Broadcasts a value to all connections, excluding the connection ids specified.
public static Broadcast ( this connection, object value ) : System.Threading.Tasks.Task
connection this The connection
value object The value to broadcast.
리턴 System.Threading.Tasks.Task

Send() 공개 정적인 메소드

Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id.
public static Send ( this connection, IList connectionIds, object value ) : System.Threading.Tasks.Task
connection this The connection
connectionIds IList The connection ids to send to.
value object The value to publish.
리턴 System.Threading.Tasks.Task

Send() 공개 정적인 메소드

Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id.
public static Send ( this connection, string connectionId, object value ) : System.Threading.Tasks.Task
connection this The connection
connectionId string The connectionId to send to.
value object The value to publish.
리턴 System.Threading.Tasks.Task