Skip to content

Commit 6435882

Browse files
committed
doc
1 parent 0a1a9e9 commit 6435882

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

client/transport/streamable_http.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ import (
2323
type StreamableHTTPCOption func(*StreamableHTTP)
2424

2525
// WithContinuousListening enables receiving server-to-client notifications when no request is in flight.
26-
// In particular, if you want to receive global notifications (like ToolListChangedNotification)
27-
// from the server, you should enable this option.
26+
// In particular, if you want to receive global notifications from the server (like ToolListChangedNotification),
27+
// you should enable this option.
28+
//
2829
// It will establish a standalone long-live GET HTTP connection to the server.
2930
// https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#listening-for-messages-from-the-server
3031
// NOTICE: Even enabled, the server may not support this feature.
@@ -69,8 +70,6 @@ func WithLogger(logger util.Logger) StreamableHTTPCOption {
6970
//
7071
// The current implementation does not support the following features:
7172
// - batching
72-
// - continuously listening for server notifications when no request is in flight
73-
// (https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#listening-for-messages-from-the-server)
7473
// - resuming stream
7574
// (https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#resumability-and-redelivery)
7675
// - server -> client request

0 commit comments

Comments
 (0)