Skip to content

Commit 8910c6c

Browse files
committed
Replaced the SendToAsync (string id, Stream stream, int length, Action<bool> completed) method with the SendToAsync (Stream stream, int length, string id, Action<bool> completed) method
1 parent d3dd903 commit 8910c6c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

websocket-sharp/Server/WebSocketSessionManager.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -764,21 +764,21 @@ public void SendToAsync (string data, string id, Action<bool> completed)
764764
/// <remarks>
765765
/// This method doesn't wait for the send to be complete.
766766
/// </remarks>
767-
/// <param name="id">
768-
/// A <see cref="string"/> that represents the ID of the session to find.
769-
/// </param>
770767
/// <param name="stream">
771768
/// A <see cref="Stream"/> from which contains the binary data to send.
772769
/// </param>
773770
/// <param name="length">
774771
/// An <see cref="int"/> that represents the number of bytes to send.
775772
/// </param>
773+
/// <param name="id">
774+
/// A <see cref="string"/> that represents the ID of the session to find.
775+
/// </param>
776776
/// <param name="completed">
777777
/// An <c>Action&lt;bool&gt;</c> delegate that references the method(s) called when
778778
/// the send is complete. A <see cref="bool"/> passed to this delegate is <c>true</c>
779779
/// if the send is complete successfully.
780780
/// </param>
781-
public void SendToAsync (string id, Stream stream, int length, Action<bool> completed)
781+
public void SendToAsync (Stream stream, int length, string id, Action<bool> completed)
782782
{
783783
IWebSocketSession session;
784784
if (TryGetSession (id, out session))

0 commit comments

Comments
 (0)