Skip to content

Commit

Permalink
Merge pull request #11 from jsmiguel/patch-1
Browse files Browse the repository at this point in the history
Update add the lastest Pusher protocol.
  • Loading branch information
krohling committed Jan 12, 2014
2 parents ffae34e + 75d17ba commit cd21cd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PusherClient.cpp
Expand Up @@ -36,7 +36,7 @@ static HashMap<String, EventDelegate, HASH_SIZE> _bindMap = HashMap<String, Even
prog_char stringVar0[] PROGMEM = "{0}";
prog_char stringVar1[] PROGMEM = "{1}";
prog_char stringVar2[] PROGMEM = "{2}";
prog_char pusherPath[] PROGMEM = "/app/{0}?client=js&version=1.9.0";
prog_char pusherPath[] PROGMEM = "/app/{0}?client=js&version=2.1&protocol=7";
prog_char pusherHostname[] PROGMEM = "ws.pusherapp.com";
prog_char subscribeEventName[] PROGMEM = "pusher:subscribe";
prog_char subscribeMessage1[] PROGMEM = "{\"channel\": \"{0}\" }";
Expand Down Expand Up @@ -202,4 +202,4 @@ String PusherClient::parseMessageMember(String memberName, String data) {
String result = data.substring(memberDataStart, memberDataEnd);
result.replace("\\\"", "\"");
return result;
}
}

0 comments on commit cd21cd6

Please sign in to comment.