diff --git a/README.md b/README.md index 4576e480..49746580 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,11 @@ The `WebSocket.Send` method is overloaded. You can use the `WebSocket.Send (string)`, `WebSocket.Send (byte [])`, or `WebSocket.Send (System.IO.FileInfo)` method to send a data. -If you want to send a data asynchronously, you should use the `WebSocket.SendAsync (data, completed)` method. +If you want to send a data asynchronously, you should use the `WebSocket.SendAsync` method. + +```cs +ws.SendAsync (data, completed); +``` And if you want to do something when the send is complete, you should set any action to `completed` (its type is `Action`).