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
|
|
@ -11,14 +11,14 @@ namespace ModelContextProtocol.AspNetCore.Tests;
|
|||
|
||||
/// <summary>
|
||||
/// Integration tests for MCP Tasks feature over HTTP transports.
|
||||
/// Tests task creation, polling, cancellation, and result retrieval across SSE streams.
|
||||
/// Tests task creation, polling, cancellation, and result retrieval.
|
||||
/// </summary>
|
||||
public class HttpTaskIntegrationTests(ITestOutputHelper outputHelper) : KestrelInMemoryTest(outputHelper)
|
||||
{
|
||||
private readonly HttpClientTransportOptions DefaultTransportOptions = new()
|
||||
{
|
||||
Endpoint = new("http://localhost:5000/sse"),
|
||||
Name = "In-memory SSE Client",
|
||||
Endpoint = new("http://localhost:5000/"),
|
||||
Name = "In-memory Streamable HTTP Client",
|
||||
};
|
||||
|
||||
private Task<McpClient> ConnectMcpClientAsync(
|
||||
|
|
|
|||
Loading…
Reference in a new issue