Clean up namespaces (#410)
No meaningful code changes, just lots of namespace shuffling to have fewer namespaces and to put things in better namespaces.
This commit is contained in:
parent
c11c634945
commit
106ab8064f
1 changed files with 491 additions and 668 deletions
17
src/ModelContextProtocol/Protocol/PingResult.cs
Normal file
17
src/ModelContextProtocol/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 record PingResult;
|
||||
Loading…
Reference in a new issue