Replaced the PingTo (string id, string message) method with the PingTo (string message, string id) method

This commit is contained in:
sta 2015-04-22 14:56:52 +09:00
parent 8910c6cced
commit 7d168515d1

View File

@ -661,13 +661,13 @@ namespace WebSocketSharp.Server
/// <c>true</c> if the manager receives a Pong from the client in a time;
/// otherwise, <c>false</c>.
/// </returns>
/// <param name="id">
/// A <see cref="string"/> that represents the ID of the session to find.
/// </param>
/// <param name="message">
/// A <see cref="string"/> that represents the message to send.
/// </param>
public bool PingTo (string id, string message)
/// <param name="id">
/// A <see cref="string"/> that represents the ID of the session to find.
/// </param>
public bool PingTo (string message, string id)
{
IWebSocketSession session;
return TryGetSession (id, out session) && session.Context.WebSocket.Ping (message);