forked from modelcontextprotocol/csharp-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPingResult.cs
More file actions
17 lines (16 loc) · 706 Bytes
/
PingResult.cs
File metadata and controls
17 lines (16 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace ModelContextProtocol.Protocol;
/// <summary>
/// Represents the result of a <see cref="RequestMethods.Ping"/> request in the Model Context Protocol.
/// </summary>
/// <remarks>
/// <para>
/// The <see cref="PingResult"/> is returned in response to a <see cref="RequestMethods.Ping"/> request,
/// which is used to verify that the connection between client and server is still alive and responsive.
/// Since this is a simple connectivity check, the result is an empty object containing no data.
/// </para>
/// <para>
/// Ping requests can be initiated by either the client or the server to check if the other party
/// is still responsive.
/// </para>
/// </remarks>
public class PingResult;