From 7a1cd5881e6b4b95ab90825e15080befa9006b75 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 21 Jan 2014 14:22:12 +0900 Subject: [PATCH] Fix a few --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e9b20f1f..29466db7 100644 --- a/README.md +++ b/README.md @@ -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 ###