Skip to content

Commit 8e1005b

Browse files
committed
Replaced the SendTo (string id, string data) method with the SendTo (string data, string id) method
1 parent a45baed commit 8e1005b

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
@@ -694,13 +694,13 @@ public void SendTo (byte[] data, string id)
694694
/// Sends a text <paramref name="data"/> to the client on the session
695695
/// with the specified <paramref name="id"/>.
696696
/// </summary>
697-
/// <param name="id">
698-
/// A <see cref="string"/> that represents the ID of the session to find.
699-
/// </param>
700697
/// <param name="data">
701698
/// A <see cref="string"/> that represents the text data to send.
702699
/// </param>
703-
public void SendTo (string id, string data)
700+
/// <param name="id">
701+
/// A <see cref="string"/> that represents the ID of the session to find.
702+
/// </param>
703+
public void SendTo (string data, string id)
704704
{
705705
IWebSocketSession session;
706706
if (TryGetSession (id, out session))

0 commit comments

Comments
 (0)