Fix a few
This commit is contained in:
parent
54726f38c7
commit
7a1cd5881e
@ -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 ###
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user