Replaced the SendToAsync (string id, string data, Action<bool> completed) method with the SendToAsync (string data, string id, Action<bool> completed) method
This commit is contained in:
parent
4d837ce8f7
commit
d3dd903809
@ -739,18 +739,18 @@ namespace WebSocketSharp.Server
|
||||
/// <remarks>
|
||||
/// This method doesn't wait for the send to be complete.
|
||||
/// </remarks>
|
||||
/// <param name="id">
|
||||
/// A <see cref="string"/> that represents the ID of the session to find.
|
||||
/// </param>
|
||||
/// <param name="data">
|
||||
/// A <see cref="string"/> that represents the text data to send.
|
||||
/// </param>
|
||||
/// <param name="id">
|
||||
/// A <see cref="string"/> that represents the ID of the session to find.
|
||||
/// </param>
|
||||
/// <param name="completed">
|
||||
/// An <c>Action<bool></c> delegate that references the method(s) called when
|
||||
/// the send is complete. A <see cref="bool"/> passed to this delegate is <c>true</c>
|
||||
/// if the send is complete successfully.
|
||||
/// </param>
|
||||
public void SendToAsync (string id, string data, Action<bool> completed)
|
||||
public void SendToAsync (string data, string id, Action<bool> completed)
|
||||
{
|
||||
IWebSocketSession session;
|
||||
if (TryGetSession (id, out session))
|
||||
|
Loading…
Reference in New Issue
Block a user