Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Stephen Toub <stoub@microsoft.com> Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
29 lines
1,013 B
C#
29 lines
1,013 B
C#
using ModelContextProtocol.Protocol;
|
|
|
|
namespace ModelContextProtocol.Client;
|
|
|
|
/// <summary>
|
|
/// Provides the metadata captured from a previous MCP client session that is required to resume it.
|
|
/// </summary>
|
|
public sealed class ResumeClientSessionOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the server capabilities that were negotiated during the original session initialization.
|
|
/// </summary>
|
|
public required ServerCapabilities ServerCapabilities { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the server implementation metadata that identifies the connected MCP server.
|
|
/// </summary>
|
|
public required Implementation ServerInfo { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets any instructions previously supplied by the server.
|
|
/// </summary>
|
|
public string? ServerInstructions { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the protocol version that was negotiated with the server.
|
|
/// </summary>
|
|
public string? NegotiatedProtocolVersion { get; set; }
|
|
}
|