Skip to content

Commit

Permalink
Update protocol info in CONNECT
Browse files Browse the repository at this point in the history
after feedback in PR
  • Loading branch information
danielwertheim committed Dec 29, 2016
1 parent e5ea764 commit 9bda1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/documentation/internals/nats-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ The valid options are as follows:
* `name`: Optional client name
* `lang`: The implementation language of the client.
* `version`: The version of the client.
* `protocol`: optional, passing `1` indicates that the client supports dynamic reconfiguration of cluster topology changes
* `protocol`: *optional int*. Sending `0` (or absent) indicates client supports original protocol. Sending `1` indicates that the client supports dynamic reconfiguration of cluster topology changes by asynchronously receiving `INFO` messages with known servers it can reconnect to.

### Description
The `CONNECT` message is analogous to the `INFO` message. Once the client has established a TCP/IP socket connection with the NATS server, and an `INFO` message has been received from the server, the client may send a `CONNECT` message to the NATS server to provide more information about the current connection as well as security information.
Expand Down

0 comments on commit 9bda1ef

Please sign in to comment.