Add ModelContextProtocol.Core package (#428)
This commit is contained in:
parent
57458241b9
commit
703b0fe50b
1 changed files with 239 additions and 94 deletions
17
src/ModelContextProtocol.Core/Protocol/PingResult.cs
Normal file
17
src/ModelContextProtocol.Core/Protocol/PingResult.cs
Normal 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;
|
||||
Loading…
Reference in a new issue