Skip to content

Commit a45baed

Browse files
committed
Replaced the SendTo (string id, byte[] data) method with the SendTo (byte[] data, string id) method
1 parent 43efc34 commit a45baed

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
@@ -677,13 +677,13 @@ public bool PingTo (string id, string message)
677677
/// Sends a binary <paramref name="data"/> to the client on the session
678678
/// with the specified <paramref name="id"/>.
679679
/// </summary>
680-
/// <param name="id">
681-
/// A <see cref="string"/> that represents the ID of the session to find.
682-
/// </param>
683680
/// <param name="data">
684681
/// An array of <see cref="byte"/> that represents the binary data to send.
685682
/// </param>
686-
public void SendTo (string id, byte[] data)
683+
/// <param name="id">
684+
/// A <see cref="string"/> that represents the ID of the session to find.
685+
/// </param>
686+
public void SendTo (byte[] data, string id)
687687
{
688688
IWebSocketSession session;
689689
if (TryGetSession (id, out session))

0 commit comments

Comments
 (0)