AI seeded comments from robch and then edited by stephentoub (#238)

* AI generated `///` comment updates

* Fix compilation issues

* Fix incorrect XML comment structure

* Update all Client comments

* Update all Configuration comments

* Update all Messages comments

* Update all Transport comments

* Update all Types comments

* Update all Server comments

* Undo some commenting

---------

Co-authored-by: Stephen Toub <stoub@microsoft.com>
This commit is contained in:
Rob Chambers 2025-04-09 22:30:44 -07:00 • committed by GitHub
commit 77871c5aac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,13 +4,20 @@ using System.Text.Json.Serialization;
namespace ModelContextProtocol.Protocol.Types;
/// <summary>
/// Metadata related to the request.
/// Provides metadata related to the request that provides additional protocol-level information.
/// </summary>
/// <remarks>
/// This class contains properties that are used by the Model Context Protocol
/// for features like progress tracking and other protocol-specific capabilities.
/// </remarks>
public class RequestParamsMetadata
{
/// <summary>
/// If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
/// Gets or sets an opaque token that will be attached to any subsequent progress notifications.
/// </summary>
/// <remarks>
/// The receiver is not obligated to provide these notifications.
/// </remarks>
[JsonPropertyName("progressToken")]
public ProgressToken? ProgressToken { get; set; } = default!;
}