Click or drag to resize

WebSocketSessionManager Methods

The WebSocketSessionManager type exposes the following members.

Methods
  NameDescription
Public methodBroadcast(Byte)
Sends data to every client in the WebSocket service.
Public methodBroadcast(String)
Sends data to every client in the WebSocket service.
Public methodBroadcast(Stream, Int32)
Sends the data from stream to every client in the WebSocket service.
Public methodBroadcastAsync(Byte, Action)
Sends data asynchronously to every client in the WebSocket service.
Public methodBroadcastAsync(String, Action)
Sends data asynchronously to every client in the WebSocket service.
Public methodBroadcastAsync(Stream, Int32, Action)
Sends the data from stream asynchronously to every client in the WebSocket service.
Public methodBroadping Obsolete.
Sends a ping to every client in the WebSocket service.
Public methodBroadping(String) Obsolete.
Sends a ping with message to every client in the WebSocket service.
Public methodCloseSession(String)
Closes the specified session.
Public methodCloseSession(String, CloseStatusCode, String)
Closes the specified session with code and reason.
Public methodCloseSession(String, UInt16, String)
Closes the specified session with code and reason.
Public methodPingTo(String)
Sends a ping to the client using the specified session.
Public methodPingTo(String, String)
Sends a ping with message to the client using the specified session.
Public methodSendTo(Byte, String)
Sends data to the client using the specified session.
Public methodSendTo(String, String)
Sends data to the client using the specified session.
Public methodSendTo(Stream, Int32, String)
Sends the data from stream to the client using the specified session.
Public methodSendToAsync(Byte, String, ActionBoolean)
Sends data asynchronously to the client using the specified session.
Public methodSendToAsync(String, String, ActionBoolean)
Sends data asynchronously to the client using the specified session.
Public methodSendToAsync(Stream, Int32, String, ActionBoolean)
Sends the data from stream asynchronously to the client using the specified session.
Public methodSweep
Cleans up the inactive sessions in the WebSocket service.
Public methodTryGetSession
Tries to get the session instance with id.
Top
See Also