From 4d837ce8f7b4f906270f5724559c7e6c24bb0f5d Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 21 Apr 2015 15:25:27 +0900 Subject: [PATCH] Replaced the SendToAsync (string id, byte[] data, Action completed) method with the SendToAsync (byte[] data, string id, Action completed) method --- websocket-sharp/Server/WebSocketSessionManager.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/websocket-sharp/Server/WebSocketSessionManager.cs b/websocket-sharp/Server/WebSocketSessionManager.cs index a6ba14e8..ac8445fd 100644 --- a/websocket-sharp/Server/WebSocketSessionManager.cs +++ b/websocket-sharp/Server/WebSocketSessionManager.cs @@ -714,18 +714,18 @@ namespace WebSocketSharp.Server /// /// This method doesn't wait for the send to be complete. /// - /// - /// A that represents the ID of the session to find. - /// /// /// An array of that represents the binary data to send. /// + /// + /// A that represents the ID of the session to find. + /// /// /// An Action<bool> delegate that references the method(s) called when /// the send is complete. A passed to this delegate is true /// if the send is complete successfully. /// - public void SendToAsync (string id, byte[] data, Action completed) + public void SendToAsync (byte[] data, string id, Action completed) { IWebSocketSession session; if (TryGetSession (id, out session))