Skip to content

Instantly share code, notes, and snippets.

@jacobrosenthal
Created May 9, 2014 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacobrosenthal/85f1adb4cd056ae03671 to your computer and use it in GitHub Desktop.
Save jacobrosenthal/85f1adb4cd056ae03671 to your computer and use it in GitHub Desktop.
Good Skynet connection log
Connecting TCP
POST /socket.io/1/ HTTP/1.1
Host: skynet.im
HTTP/1.1 200 OK
Content-Type: text/plain
Date: Fri, 09 May 2014 20:58:52 GMT
Connection: keep-alive
Transfer-Encoding: chunked
47
9wN8NWlceioGiqeBQyLG:60:60:websocket,htmlfile,xhr-polling,jsonp-polling
SID: 9wN8NWlceioGiqeBQyLG
4813101310
GET /socket.io/1/websocket/9wN8NWlceioGiqeBQyLG HTTP/1.1
Host: skynet.im
Upgrade: WebSocket
Connection: Upgrade
HTTP/1.1 101 Web Socket Protocol Handshake
Websocket Connected
Upgrade: WebSocket
Connection: Upgrade
WebSocket-Origin: undefined
WebSocket-Location: ws://skynet.im/socket.io/1/websocket/9wN8NWlceioGiqeBQyLG
1::
Socket Connect
5:::{"name":"identify","args":[{"socketid":"9wN8NWlceioGiqeBQyLG"}]}
Message
identify
Sending(Identify): 5:::{"name":"identity","args":[{"uuid":"0b8f4d01-d544-11e3-8dc6-53596f7c6abb", "token":"XXXX"}]}ˇ
5:::{"name":"ready","args":[{"api":"connect","status":201,"socketid":"9wN8NWlceioGiqeBQyLG","uuid":"0b8f4d01-d544-11e3-8dc6-53596f7c6abb","token":"zakc6sqyctlhxgvio9vn5pwirw5klnmi"}]}
Message
ready
Skynet Connect
Connected!
uuid: 0b8f4d01-d544-11e3-8dc6-53596f7c6abb
token: XXX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment