Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 573 Bytes

server_migrate.md

File metadata and controls

15 lines (11 loc) · 573 Bytes

migrate message (server)

A message sent from the Ribbon to indicate that a client should migrate to another websocket endpoint.

Format

  • (object):
    • (integer) id: The id of this message.
    • (string) command: Always "migrate".
    • (object) data:
      • (string) endpoint: The websocket endpoint to reconnect to.
      • (string) name: The name of the worker.
      • (string) flag: The ISO 3166-1 country code of the worker (presumably its location).

I don't know why the worker data isn't its own object.