InvitePeer

Request Overview

This packet is sent by a peer who has discovered a shared space and is attempting to join it.

Headers

call_type int 0
packet_type long ((100L << 32)
sequence long
sender_uuid String
connect_back String
space_uuid String

Body

The body of this request is empty.

Custom Objects

Space UUID

The request should include a "space_uuid" object with the UUID of the shared space that the peer is attempting to join.

{
    "space_uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Example

An example of an InvitePeer request:

{
    "app_name": "iOS Test App",
    "call_type": 0,
    "connect_back": "tcp:172.16.20.133:64443",
    "packet_type": 429496729603,
    "sender_name": "iPhone Simulator",
    "sender_uuid": "d6f2eb53",
    "sequence": 1402245117,
    "space_uuid": "40071168-0836-4560-a022-cb7a315b1855"
}