WebSocketServiceManager Members
The WebSocketServiceManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
Broadcast(array<Byte>[]()[][]) |
Sends binary data to every client in the WebSocket services.
|
|
Broadcast(String) |
Sends text data to every client in the WebSocket services.
|
|
BroadcastAsync(array<Byte>[]()[][], Action) |
Sends binary data asynchronously to every client in
the WebSocket services.
|
|
BroadcastAsync(String, Action) |
Sends text data asynchronously to every client in
the WebSocket services.
|
|
BroadcastAsync(Stream, Int32, Action) |
Sends binary data from the specified Stream asynchronously to
every client in the WebSocket services.
|
|
Broadping()()()() |
Sends a Ping to every client in the WebSocket services.
|
|
Broadping(String) |
Sends a Ping with the specified message to every client in
the WebSocket services.
|
|
Equals(System.Object) | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
TryGetServiceHost |
Tries to get the WebSocket service host with the specified path.
|
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of the WebSocket services.
|
|
Hosts |
Gets the host instances for the Websocket services.
|
|
Item |
Gets the WebSocket service host with the specified path.
|
|
KeepClean |
Gets a value indicating whether the manager cleans up the inactive sessions
in the WebSocket services periodically.
|
|
Paths |
Gets the paths for the WebSocket services.
|
|
SessionCount |
Gets the total number of the sessions in the WebSocket services.
|
|
WaitTime |
Gets the wait time for the response to the WebSocket Ping or Close.
|