Default draft protocol support: sessionless + handshake-less (SEP-2575 + SEP-2567) (#1610)
This commit is contained in:
parent
3368bb7349
commit
6c323e783b
1 changed files with 5704 additions and 712 deletions
|
|
@ -425,7 +425,13 @@ public class Program
|
|||
}
|
||||
|
||||
builder.Services.AddMcpServer(ConfigureOptions)
|
||||
.WithHttpTransport(options => options.EnableLegacySse = true);
|
||||
.WithHttpTransport(options =>
|
||||
{
|
||||
// The test fixture exercises legacy stateful behaviors (SSE + session-id flows).
|
||||
// Set Stateless = false explicitly now that draft (SEP-2567) defaults to true.
|
||||
options.Stateless = false;
|
||||
options.EnableLegacySse = true;
|
||||
});
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue