Skip to content

Instantly share code, notes, and snippets.

@lcharette
Created April 30, 2014 16:01
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 lcharette/1e87882f58011f0340e5 to your computer and use it in GitHub Desktop.
Save lcharette/1e87882f58011f0340e5 to your computer and use it in GitHub Desktop.
APE Socket communication
HTTP / 1.1 200 OK
Pragma: no - cache
Cache - Control: no - cache,
must - revalidate
Expires: Thu,
27 Dec 1986 07: 30: 00 GMT
Content - Type: application / x - ape - event - stream
[{
"time": "1398873326",
"raw": "LOGIN",
"data": {
"sessid": "7f944f2c86eb0a687870ee0fdde6ebfb"
}
}, {
"time": "1398873326",
"raw": "IDENT",
"data": {
"user": {
"casttype": "uni",
"pubid": "0f6b4fe3c2423110ff744d970e340966",
"properties": {
"name": "iOS980"
}
}
}
}]
GET /1/?[{"cmd":"CONNECT","chl":0,"params":{"name":"iOS980"}}] HTTP/1.1
Host: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment