Add stateless doc, prefer stateless mode and disable legacy SSE by default (#1468)
This commit is contained in:
parent
49bf17077d
commit
8eb4023c20
1 changed files with 1440 additions and 73 deletions
|
|
@ -29,4 +29,8 @@ internal static class Obsoletions
|
|||
public const string RequestContextParamsConstructor_DiagnosticId = "MCP9003";
|
||||
public const string RequestContextParamsConstructor_Message = "Use the constructor overload that accepts a parameters argument.";
|
||||
public const string RequestContextParamsConstructor_Url = "https://github.com/modelcontextprotocol/csharp-sdk/blob/main/docs/list-of-diagnostics.md#mcp9003";
|
||||
|
||||
public const string EnableLegacySse_DiagnosticId = "MCP9004";
|
||||
public const string EnableLegacySse_Message = "Legacy SSE transport has no built-in request backpressure and should only be used with completely trusted clients in isolated processes. Use Streamable HTTP instead.";
|
||||
public const string EnableLegacySse_Url = "https://github.com/modelcontextprotocol/csharp-sdk/blob/main/docs/list-of-diagnostics.md#obsolete-apis";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue