From 8910c6ccedce1aa59b7836f44a016616cf901044 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 21 Apr 2015 15:38:10 +0900 Subject: [PATCH] Replaced the SendToAsync (string id, Stream stream, int length, Action completed) method with the SendToAsync (Stream stream, int length, 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 18c816dc..b1532dc2 100644 --- a/websocket-sharp/Server/WebSocketSessionManager.cs +++ b/websocket-sharp/Server/WebSocketSessionManager.cs @@ -764,21 +764,21 @@ namespace WebSocketSharp.Server /// /// This method doesn't wait for the send to be complete. /// - /// - /// A that represents the ID of the session to find. - /// /// /// A from which contains the binary data to send. /// /// /// An that represents the number of bytes 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, Stream stream, int length, Action completed) + public void SendToAsync (Stream stream, int length, string id, Action completed) { IWebSocketSession session; if (TryGetSession (id, out session))