From 630da48fb3b442c1808d0a367c8c42e0f3c6cb7e Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 21 Jan 2014 15:20:06 +0900 Subject: [PATCH] Modified Step 5 of 'WebSocket Client' --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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`).