Exposes the methods and property for the WebSocket service host.
|
BindWebSocket
(WebSocketSharp.WebSocket)Binds the specified WebSocketSharp.WebSocket. |
|
|
Broadcast
(string)Broadcasts the specified string. |
|
|
Start
()Starts the WebSocket service host. |
|
|
Stop
()Stops the WebSocket service host. |
Binds the specified WebSocketSharp.WebSocket.
Syntax
public void BindWebSocket (WebSocketSharp.WebSocket socket)Parameters
- socket
- An WebSocketSharp.WebSocket to bind.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
Assembly Versions: 1.0.2.27062
Broadcasts the specified string.
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)
Assembly Versions: 1.0.2.27062
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)
Assembly Versions: 1.0.2.27062
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)
Assembly Versions: 1.0.2.27062
Indicates whether the WebSocket service host closes the connection to a inactive service client.
Syntax
public bool Sweeped { get; set; }Value
true if the WebSocket service host closes the connection to a inactive service client; otherwise, false.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
Assembly Versions: 1.0.2.27062