Skip to content

Commit bd504c8

Browse files
committed
Change "multiple connections" requirements
1 parent 5474985 commit bd504c8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/specification/draft/basic/transports.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,11 @@ of session state across separate POSTs.
139139
### Multiple Connections
140140

141141
1. The client **MAY** remain connected to multiple SSE streams simultaneously.
142-
2. The server **MAY** broadcast its JSON-RPC messages on all connected SSE streams, or it
143-
**MAY** limit its communication on any particular stream only to messages related to
144-
the client's original request on that stream.
145-
- The client **MUST** ignore duplicate _requests_ and _responses_ received in this
146-
way, by ignoring any duplicate JSON-RPC request IDs in either.
147-
- The client **MUST** be resilient to duplicate _notifications_, handling them with
148-
idempotency.
142+
2. The server **MUST** send each of its JSON-RPC messages on only one of the connected
143+
streams; that is, it **MUST NOT** broadcast the same message across multiple streams.
144+
The server **MAY** use different streams for _different_ messages.
145+
- The server can mitigate the risk of message loss by supporting
146+
[resumability and redelivery](#resumability-and-redelivery).
149147

150148
### Resumability and Redelivery
151149

0 commit comments

Comments
 (0)