Skip to content

Commit

Permalink
Updated the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed May 22, 2024
1 parent 482b011 commit af9b76a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/accept.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ Accepts an invitation to play online with an opponent.
### Example

```js
ws.send('/accept e69e3228e22dbcab5c2274646ae9a23647b222d084e26dea3216016d026f7108');
ws.send('/accept 876d7a7b');
```

```text
{
"/accept": {
"jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhc3luYy5jaGVzc2xhYmxhYi5vcmciLCJpYXQiOjE3MTYzOTMxOTQsImV4cCI6MTcxNjM5Njc5NCwidmFyaWFudCI6ImNsYXNzaWNhbCIsInN1Ym1vZGUiOiJvbmxpbmUiLCJjb2xvciI6ImIiLCJtaW4iOjUsImluY3JlbWVudCI6MywiZmVuIjoicm5icWtibnIvcHBwcHBwcHAvOC84LzgvOC9QUFBQUFBQUC9STkJRS0JOUiB3IEtRa3EgLSJ9.uEVe0vMgOroQCKqTtXqvFZvTidHlESeaVqQXj7_FcdA",
"hash": "74cf7843",
"jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhc3luYy5jaGVzc2xhYmxhYi5vcmciLCJpYXQiOjE3MTYzOTk3NjYsImV4cCI6MTcxNjQwMzM2NiwidmFyaWFudCI6ImNsYXNzaWNhbCIsInN1Ym1vZGUiOiJmcmllbmQiLCJjb2xvciI6InciLCJtaW4iOiI1IiwiaW5jcmVtZW50IjoiMyIsImZlbiI6InJuYnFrYm5yL3BwcHBwcHBwLzgvOC84LzgvUFBQUFBQUFAvUk5CUUtCTlIgdyBLUWtxIC0ifQ.hqxBC0gZS7aka7_FUGtLJ3uFG_RtjGqhHi7ttvHb73A",
"hash": "876d7a7b",
"timer": {
"w": 300,
"b": 300
},
"startedAt": 1716393248
"startedAt": 1716399810
}
}
```

0 comments on commit af9b76a

Please sign in to comment.