Add ModelContextProtocol.Core package (#428)

This commit is contained in:
Stephen Halter 2025-06-02 15:16:45 -07:00 • committed by GitHub
commit 703b0fe50b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,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;