Fix a few

master
sta 12 years ago
parent 54726f38c7
commit 7a1cd5881e

@ -356,14 +356,12 @@ wssv.Start ();
Stopping the WebSocket server. Stopping the WebSocket server.
```cs ```cs
wssv.Stop (); wssv.Stop (code, reason);
``` ```
The `WebSocketServer.Stop` method is overloaded. The `WebSocketServer.Stop` method is overloaded.
You can use the `WebSocketServer.Stop ()` or `WebSocketServer.Stop (code, reason)` method to stop the server. You can use the `WebSocketServer.Stop ()`, `WebSocketServer.Stop (ushort, string)`, or `WebSocketServer.Stop (WebSocketSharp.CloseStatusCode, string)` method to stop the server.
The type of `code` is `ushort` or `WebSocketSharp.CloseStatusCode`, and the type of `reason` is `string`.
### HTTP Server with the WebSocket ### ### HTTP Server with the WebSocket ###

Loading…
Cancel
Save