Default draft protocol support: sessionless + handshake-less (SEP-2575 + SEP-2567) (#1610)
This commit is contained in:
parent
3368bb7349
commit
6c323e783b
2 changed files with 5704 additions and 712 deletions
|
|
@ -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'">
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue