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
|
|
@ -26,7 +26,7 @@ Register a completion handler when building the server. The handler receives a r
|
|||
|
||||
```csharp
|
||||
builder.Services.AddMcpServer()
|
||||
.WithHttpTransport()
|
||||
.WithHttpTransport(o => o.Stateless = true)
|
||||
.WithPrompts<MyPrompts>()
|
||||
.WithResources<MyResources>()
|
||||
.WithCompleteHandler(async (ctx, ct) =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue