WebSocketServiceManager Class |
Namespace: Sfs2X.WebSocketSharp.Server
public class WebSocketServiceManager
The WebSocketServiceManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | Count |
Gets the number of the WebSocket services.
|
![]() | Hosts |
Gets the host instances for the WebSocket services.
|
![]() | Item |
Gets the host instance for a WebSocket service with
the specified path.
|
![]() | KeepClean |
Gets or sets a value indicating whether the inactive sessions in
the WebSocket services are cleaned up periodically.
|
![]() | Paths |
Gets the paths for the WebSocket services.
|
![]() | SessionCount | Obsolete.
Gets the total number of the sessions in the WebSocket services.
|
![]() | WaitTime |
Gets or sets the time to wait for the response to the WebSocket Ping or
Close.
|
Name | Description | |
---|---|---|
![]() | AddServiceTBehavior |
Adds a WebSocket service with the specified behavior,
path, and initializer.
|
![]() | Broadcast(Byte) | Obsolete.
Sends data to every client in the WebSocket services.
|
![]() | Broadcast(String) | Obsolete.
Sends data to every client in the WebSocket services.
|
![]() | BroadcastAsync(Byte, Action) | Obsolete.
Sends data asynchronously to every client in
the WebSocket services.
|
![]() | BroadcastAsync(String, Action) | Obsolete.
Sends data asynchronously to every client in
the WebSocket services.
|
![]() | BroadcastAsync(Stream, Int32, Action) | Obsolete.
Sends the data from stream asynchronously to
every client in the WebSocket services.
|
![]() | Broadping | Obsolete.
Sends a ping to every client in the WebSocket services.
|
![]() | Broadping(String) | Obsolete.
Sends a ping with message to every client in
the WebSocket services.
|
![]() | Clear |
Removes all WebSocket services managed by the manager.
|
![]() | RemoveService |
Removes a WebSocket service with the specified path.
|
![]() | TryGetServiceHost |
Tries to get the host instance for a WebSocket service with
the specified path.
|