Skip to content

Instantly share code, notes, and snippets.

@edewit
Last active January 3, 2016 05:59
Show Gist options
  • Save edewit/8419920 to your computer and use it in GitHub Desktop.
Save edewit/8419920 to your computer and use it in GitHub Desktop.
Usage Java simple push client
SimplePushClient client = new SimplePushClient("ws://localhost:7777/simplepush/websocket");
client.connect();
client.register(new RegistrationListener() {
@Override
public void onRegistered(String channelId, String simplePushEndPoint) {
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment