From 6fe06abbf6202e8825eb948302968ba1399738ec Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 21 Jan 2014 14:51:55 +0900 Subject: [PATCH] Modified Step 5 of 'WebSocket Client' --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 29466db7..ba2adf20 100644 --- a/README.md +++ b/README.md @@ -191,11 +191,11 @@ Sending a data to the WebSocket server. ws.Send (data); ``` -The `WebSocket.Send (data)` method is overloaded. +The `WebSocket.Send` method is overloaded. -The type of `data` is `string`, `byte []` or `System.IO.FileInfo`. +You can use the `WebSocket.Send (string)`, `WebSocket.Send (byte [])`, or `WebSocket.Send (System.IO.FileInfo)` to send a data. -If you want to send a data to the server asynchronously, you should use the `WebSocket.SendAsync (data, completed)` method. +If you want to send a data asynchronously, you should use the `WebSocket.SendAsync (data, completed)` method. And if you want to do something when the send is complete, you should set any action to `completed` (its type is `Action`).