-
Notifications
You must be signed in to change notification settings - Fork 1
Protocol
Andrew edited this page Sep 12, 2013
·
1 revision
The protocol for metro is a simple request response message system, where each message are JSON strings. Once a socket is open to a metro service it will acknowledge with a code XK0
signaling that it is ready for a request, or if there was a socket error on the server you may get a XE0
, depending on where the error occurs in the network pipe. The code XX0
terminates a session.
- "XX0" = TERMINATE
- "XK0" = ACKNOWLEDGE
- "XE0" = ERROR