[Modify] Edit it
Those methods were obsolete.
This commit is contained in:
@@ -404,13 +404,9 @@ wssv.Start ();
|
|||||||
Stopping the WebSocket server.
|
Stopping the WebSocket server.
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
wssv.Stop (code, reason);
|
wssv.Stop ();
|
||||||
```
|
```
|
||||||
|
|
||||||
The `WebSocketServer.Stop` method is overloaded.
|
|
||||||
|
|
||||||
You can use the `WebSocketServer.Stop ()`, `WebSocketServer.Stop (ushort, string)`, or `WebSocketServer.Stop (WebSocketSharp.CloseStatusCode, string)` method to stop the server.
|
|
||||||
|
|
||||||
### HTTP Server with the WebSocket ###
|
### HTTP Server with the WebSocket ###
|
||||||
|
|
||||||
I have modified the `System.Net.HttpListener`, `System.Net.HttpListenerContext`, and some other classes from **[Mono]** to create an HTTP server that allows to accept the WebSocket handshake requests.
|
I have modified the `System.Net.HttpListener`, `System.Net.HttpListenerContext`, and some other classes from **[Mono]** to create an HTTP server that allows to accept the WebSocket handshake requests.
|
||||||
|
|||||||
Reference in New Issue
Block a user