Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
Update sethandshake documentation.
Browse files Browse the repository at this point in the history
Update the documentation to reflect that the `sethandshake` command supports passing the entire handshake JSON.
  • Loading branch information
elielsardanons committed Jul 24, 2020
1 parent b0716d8 commit 4d45fce
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,15 @@ This example can be run with the pitaya-bot protobuffer testing example.

### Set handshake parameters

You can edit some handshake parameters before connecting to the server. The parameters are:
You can edit handshake parameters before connecting to the server.

You may pass the full handshake json:
```
Pitaya REPL Client
>>> sethandshake {"sys":{"clientVersion":"1.0.6", "clientBuildNumber":"999","platform":"ios"}}
```

Or edit one of three specific parameters:
```
Pitaya REPL Client
>>> sethandshake platform ios
Expand Down

0 comments on commit 4d45fce

Please sign in to comment.