/rematch

Offers a rematch as per these actions.

  • propose
  • decline
  • accept

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"
   }
}