C-DEngine 5.105

WebSocketServiceManager Members

The WebSocketServiceManager type exposes the following members.

Methods


  Name Description
Public method Broadcast(array<Byte>[]()[][])
Sends binary data to every client in the WebSocket services.
Public method Broadcast(String)
Sends text data to every client in the WebSocket services.
Public method BroadcastAsync(array<Byte>[]()[][], Action)
Sends binary data asynchronously to every client in the WebSocket services.
Public method BroadcastAsync(String, Action)
Sends text data asynchronously to every client in the WebSocket services.
Public method BroadcastAsync(Stream, Int32, Action)
Sends binary data from the specified Stream asynchronously to every client in the WebSocket services.
Public method Broadping()()()()
Sends a Ping to every client in the WebSocket services.
Public method Broadping(String)
Sends a Ping with the specified message to every client in the WebSocket services.
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method TryGetServiceHost
Tries to get the WebSocket service host with the specified path.

Properties


  Name Description
Public property Count
Gets the number of the WebSocket services.
Public property Hosts
Gets the host instances for the Websocket services.
Public property Item
Gets the WebSocket service host with the specified path.
Public property KeepClean
Gets a value indicating whether the manager cleans up the inactive sessions in the WebSocket services periodically.
Public property Paths
Gets the paths for the WebSocket services.
Public property SessionCount
Gets the total number of the sessions in the WebSocket services.
Public property WaitTime
Gets the wait time for the response to the WebSocket Ping or Close.