You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/labeled-response.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,30 @@ When a client sends a private message to its own nick, `echo-message` will resul
91
91
92
92
Both methods assume that the server will acknowledge all successful messages, or return a labeled error response, but differ in their attitude towards the semantics of sending and receiving.
93
93
94
+
### Batched vs. non-batched responses
95
+
96
+
This section is non-normative.
97
+
98
+
Servers may respond with a batched response, or a non-batched response, based on whether the request generates more than one message.
99
+
100
+
However, it's difficult to know which will be generated for a given request.
101
+
102
+
It might depend on server configuration, user modes, or in some cases, may change as a result of future extensions.
Clients may prefer therefore to handle all labeled responses as if they were a BATCH, even in the single message case, for robustness and compatibility.
0 commit comments