WebSocketSessionManager Methods
The WebSocketSessionManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Broadcast(array<Byte>[]()[][]) |
Sends binary data to every client in the WebSocket service.
|
![]() |
Broadcast(String) |
Sends text data to every client in the WebSocket service.
|
![]() |
BroadcastAsync(array<Byte>[]()[][], Action) |
Sends binary data asynchronously to every client in
the WebSocket service.
|
![]() |
BroadcastAsync(String, Action) |
Sends text data asynchronously to every client in
the WebSocket service.
|
![]() |
BroadcastAsync(Stream, Int32, Action) |
Sends binary data from the specified Stream asynchronously to
every client in the WebSocket service.
|
![]() |
Broadping()()()() |
Sends a Ping to every client in the WebSocket service.
|
![]() |
Broadping(String) |
Sends a Ping with the specified message to every client in
the WebSocket service.
|
![]() |
CloseSession(String) |
Closes the session with the specified id.
|
![]() |
CloseSession(String, UInt16, String) |
Closes the session with the specified id, code,
and reason.
|
![]() |
CloseSession(String, CloseStatusCode, String) |
Closes the session with the specified id, code,
and reason.
|
![]() |
Equals(System.Object) | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
PingTo(String) |
Sends a Ping to the client on the session with the specified id.
|
![]() |
PingTo(String, String) |
Sends a Ping with the specified message to the client on
the session with the specified id.
|
![]() |
SendTo(array<Byte>[]()[][], String) |
Sends binary data to the client on the session with
the specified id.
|
![]() |
SendTo(String, String) |
Sends text data to the client on the session with
the specified id.
|
![]() |
SendToAsync(array<Byte>[]()[][], String, Action<(Of <<'(Boolean>)>>)) |
Sends binary data asynchronously to the client on
the session with the specified id.
|
![]() |
SendToAsync(String, String, Action<(Of <<'(Boolean>)>>)) |
Sends text data asynchronously to the client on
the session with the specified id.
|
![]() |
SendToAsync(Stream, Int32, String, Action<(Of <<'(Boolean>)>>)) |
Sends binary data from the specified Stream asynchronously to
the client on the session with the specified id.
|
![]() |
Sweep |
Cleans up the inactive sessions in the WebSocket service.
|
![]() |
ToString | (Inherited from Object.) |
![]() |
TryGetSession |
Tries to get the session with the specified id.
|