Changeset 535 in code for trunk/doc/ext
- Timestamp:
- May 25, 2021, 2:42:51 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/ext/bouncer-networks.md
r533 r535 43 43 `BOUNCER` command. 44 44 45 The `bouncer-networks` capability MUST be negociated. This allows the server and 46 client to behave differently when the client is aware of the bouncer networks. 47 48 The `bouncer-networks-notify` capability MAY be negociated. This allows the 49 client to signal that it is capable of receiving and correctly processing 50 bouncer network notifications. 51 45 52 ### `RPL_ISUPPORT` token 46 53 … … 128 135 ### Network notifications 129 136 130 When a network attributes are updated, the bouncer MUST broadcast a 131 `BOUNCER NETWORK` message to all connected clients with the updated attributes: 137 If the client has negociated the `bouncer-networks-notify` capability, the 138 server MUST send an initial batch of `BOUNCER NETWORK` messages with the current 139 list of network, and MUST send notification messages whenever a network is 140 added, updated or removed. 141 142 If the client has not negociated the `bouncer-networks-notify` capability, the 143 server MUST NOT send implicit `BOUNCER NETWORK` messages. 144 145 When network attributes are updated, the bouncer MUST broadcast a 146 `BOUNCER NETWORK` message with the updated attributes to all connected clients 147 with the `bouncer-networks-notify` capability enabled: 132 148 133 149 BOUNCER NETWORK <netid> <attributes> 134 150 151 The notification SHOULD NOT contain attributes that haven't been updated. 152 135 153 When a network is removed, the bouncer MUST broadcast a `BOUNCER NETWORK` 136 message to all connected clients: 154 message with the special argument `*` to all connected clients with the 155 `bouncer-networks-notify` capability enabled: 137 156 138 157 BOUNCER NETWORK <netid> * … … 232 251 C: NICK emersion 233 252 C: USER emersion 0 0 :Simon 234 S: CAP * LS :sasl=PLAIN bouncer-networks 253 S: CAP * LS :sasl=PLAIN bouncer-networks bouncer-networks-notify 235 254 C: CAP REQ :sasl bouncer-networks 236 255 [SASL authentication] … … 249 268 250 269 C: BOUNCER ADDNETWORK name=OFTC;host=irc.oftc.net 251 S: BOUNCER NETWORK 44 status=connecting270 S: BOUNCER NETWORK 44 name=OFTC;host=irc.oftc.net;status=connecting 252 271 S: BOUNCER ADDNETWORK 44 253 272 S: BOUNCER NETWORK 44 status=connected
Note:
See TracChangeset
for help on using the changeset viewer.