Replaced the SendTo (string id, string data) method with the SendTo (string data, string id) method
This commit is contained in:
parent
a45baed91c
commit
8e1005b90f
@ -694,13 +694,13 @@ namespace WebSocketSharp.Server
|
|||||||
/// Sends a text <paramref name="data"/> to the client on the session
|
/// Sends a text <paramref name="data"/> to the client on the session
|
||||||
/// with the specified <paramref name="id"/>.
|
/// with the specified <paramref name="id"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="id">
|
|
||||||
/// A <see cref="string"/> that represents the ID of the session to find.
|
|
||||||
/// </param>
|
|
||||||
/// <param name="data">
|
/// <param name="data">
|
||||||
/// A <see cref="string"/> that represents the text data to send.
|
/// A <see cref="string"/> that represents the text data to send.
|
||||||
/// </param>
|
/// </param>
|
||||||
public void SendTo (string id, string data)
|
/// <param name="id">
|
||||||
|
/// A <see cref="string"/> that represents the ID of the session to find.
|
||||||
|
/// </param>
|
||||||
|
public void SendTo (string data, string id)
|
||||||
{
|
{
|
||||||
IWebSocketSession session;
|
IWebSocketSession session;
|
||||||
if (TryGetSession (id, out session))
|
if (TryGetSession (id, out session))
|
||||||
|
Loading…
Reference in New Issue
Block a user