Created
December 21, 2013 01:13
-
-
Save stephenlb/8064165 to your computer and use it in GitHub Desktop.
PubNub JavaScript SDK TimeToken Access on Subscribe.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUBNUB.subscribe({ | |
channel : "hello_world", | |
message : function( message, envelope, channel ) { | |
// TIMETOKEN | |
console.log(envelope[1]); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment