Fix a few

This commit is contained in:
sta 2014-01-21 14:22:12 +09:00
parent 54726f38c7
commit 7a1cd5881e

View File

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