Default draft protocol support: sessionless + handshake-less (SEP-2575 + SEP-2567) (#1610)

This commit is contained in:
Stephen Halter 2026-06-23 21:24:22 -07:00 • committed by GitHub
commit 6c323e783b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5704 additions and 712 deletions

View file

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net10.0;net9.0;net8.0;netstandard2.0</TargetFrameworks>
@ -10,6 +10,11 @@
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<!-- Suppress the experimental extensions warning -->
<NoWarn>$(NoWarn);MCPEXP001</NoWarn>
<!-- The legacy SSE resumability implementation (DistributedCacheEventStreamStore and its
source-generated JSON/logging) intentionally uses the obsolete ISseEventStreamStore surface. -->
<NoWarn>$(NoWarn);MCP9006</NoWarn>
<!-- CS0436: Allow ObsoleteAttribute to be redefined internally (netstandard2.0 polyfill). -->
<NoWarn>$(NoWarn);CS0436</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' != 'netstandard2.0'">

View file

@ -5,6 +5,7 @@ namespace ModelContextProtocol.Server;
/// <summary>
/// Configuration options for <see cref="DistributedCacheEventStreamStore"/>.
/// </summary>
[Obsolete(Obsoletions.LegacyStatefulHttp_Message, DiagnosticId = Obsoletions.LegacyStatefulHttp_DiagnosticId, UrlFormat = Obsoletions.LegacyStatefulHttp_Url)]
public sealed class DistributedCacheEventStreamStoreOptions
{
/// <summary>