mcp: fix stale comment on StreamableServerTransport.EventStore (#588)

This was missed in #585.

Updates #580
This commit is contained in:
Robert Findley 2025-10-16 13:48:39 -04:00 • committed by GitHub
commit 8fe64fc389
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -367,8 +367,10 @@ type StreamableServerTransport struct {
// See also [StreamableHTTPOptions.Stateless].
Stateless bool
// Storage for events, to enable stream resumption.
// If nil, a [MemoryEventStore] with the default maximum size will be used.
// EventStore enables stream resumption.
//
// If set, EventStore will be used to persist stream events and replay them
// upon stream resumption.
EventStore EventStore
// jsonResponse, if set, tells the server to prefer to respond to requests