/rematch

Allows to offer a rematch.

Name Description Required
action propose
decline
accept
Yes

Usage

Propose a rematch

ws.send('/rematch propose');
{
  "/rematch": {
    "action": "propose"
   }
}

Decline a rematch

ws.send('/rematch decline');
{
  "/rematch": {
    "action": "decline"
   }
}

Accept a rematch

ws.send('/rematch accept');
{
  "/rematch": {
    "action": "accept"
   }
}