Exposes the methods and property for the host that provides a WebSocketSharp.Server.WebSocketService.
|
BindWebSocket
(WebSocketSharp.Net.WebSockets.WebSocketContext)Binds the specified WebSocketSharp.Net.WebSockets.WebSocketContext to a WebSocketSharp.Server.WebSocketService instance. |
|
|
Broadcast
(string)Broadcasts the specified string to all service clients. |
|
|
Start
()Starts the WebSocket service host. |
|
|
Stop
()Stops the WebSocket service host. |
Binds the specified WebSocketSharp.Net.WebSockets.WebSocketContext to a WebSocketSharp.Server.WebSocketService instance.
Syntax
public void BindWebSocket (WebSocketSharp.Net.WebSockets.WebSocketContext context)Parameters
- context
- A WebSocketSharp.Net.WebSockets.WebSocketContext that contains the WebSocket connection request objects to bind.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
Broadcasts the specified string to all service clients.
Syntax
Parameters
- data
- A string to broadcast.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
Starts the WebSocket service host.
Syntax
public void Start ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
Stops the WebSocket service host.
Syntax
public void Stop ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service clients periodically.
Syntax
public bool Sweeped { get; set; }Value
true if the WebSocket service host cleans up the inactive service clients periodically; otherwise, false.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)