C-DEngine 5.105

WebSocketServer Methods

The WebSocketServer type exposes the following members.

Methods


  Name Description
Public method AddWebSocketService<(Of <<'(TBehavior>)>>)(String, Func<(Of <<'(TBehavior>)>>))
Adds a WebSocket service with the specified behavior, path, and initializer.
Public method AddWebSocketService<(Of <<'(TBehaviorWithNew>)>>)(String)
Adds a WebSocket service with the specified behavior and path.
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 RemoveWebSocketService
Removes the WebSocket service with the specified path.
Public method Start
Starts receiving the WebSocket connection requests.
Public method Stop()()()()
Stops receiving the WebSocket connection requests.
Public method Stop(UInt16, String)
Stops receiving the WebSocket connection requests with the specified UInt16 and String.
Public method Stop(CloseStatusCode, String)
Stops receiving the WebSocket connection requests with the specified CloseStatusCode and String.
Public method ToString (Inherited from Object.)