A message sent from the Ribbon to indicate that a client should migrate to another websocket endpoint.
- (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).
- (string)
- (integer)
I don't know why the worker data isn't its own object.