Replaced the SendTo (string id, byte[] data) method with the SendTo (byte[] data, string id) method
This commit is contained in:
parent
43efc34542
commit
a45baed91c
@ -677,13 +677,13 @@ namespace WebSocketSharp.Server
|
|||||||
/// Sends a binary <paramref name="data"/> to the client on the session
|
/// Sends a binary <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">
|
||||||
/// An array of <see cref="byte"/> that represents the binary data to send.
|
/// An array of <see cref="byte"/> that represents the binary data to send.
|
||||||
/// </param>
|
/// </param>
|
||||||
public void SendTo (string id, byte[] data)
|
/// <param name="id">
|
||||||
|
/// A <see cref="string"/> that represents the ID of the session to find.
|
||||||
|
/// </param>
|
||||||
|
public void SendTo (byte[] 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