diff --git a/websocket-sharp/Server/WebSocketSessionManager.cs b/websocket-sharp/Server/WebSocketSessionManager.cs index b541a029..b6d6a457 100644 --- a/websocket-sharp/Server/WebSocketSessionManager.cs +++ b/websocket-sharp/Server/WebSocketSessionManager.cs @@ -916,19 +916,47 @@ namespace WebSocketSharp.Server } /// - /// Sends a Ping with the specified to the client on - /// the session with the specified . + /// Sends a ping with to the client using + /// the specified session. /// /// - /// true if the manager receives a Pong from the client in a time; - /// otherwise, false. + /// true if the send has done with no error and a pong has been + /// received from the client within a time; otherwise, false. /// /// - /// A that represents the message to send. + /// + /// A that represents the message to send. + /// + /// + /// The size must be 125 bytes or less in UTF-8. + /// /// /// /// A that represents the ID of the session to find. /// + /// + /// is . + /// + /// + /// + /// is an empty string. + /// + /// + /// -or- + /// + /// + /// The session could not be found. + /// + /// + /// -or- + /// + /// + /// could not be UTF-8-encoded. + /// + /// + /// + /// The size of is greater than 125 bytes. + /// public bool PingTo (string message, string id) { IWebSocketSession session;