Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Check if connection is live #1

Closed
webjay opened this issue Feb 16, 2014 · 2 comments
Closed

Check if connection is live #1

webjay opened this issue Feb 16, 2014 · 2 comments
Assignees
Labels

Comments

@webjay
Copy link
Owner

webjay commented Feb 16, 2014

No description provided.

@webjay webjay added this to the Version 1 milestone Feb 16, 2014
@webjay webjay self-assigned this Feb 16, 2014
@webjay
Copy link
Owner Author

webjay commented Feb 22, 2014

It seems there are ways to detect whether the device is connected or not via navigator.onLine.
Here is a demo:
http://html5demos.com/nav-online

@webjay webjay modified the milestones: v1.1, Version 1 Feb 22, 2014
@webjay webjay modified the milestones: v1.1, Questions for v1.1 Feb 22, 2014
@ghtca
Copy link
Collaborator

ghtca commented Mar 11, 2014

On the server, Pusher will know whether the client received the message or not. On the client, whether the message was successfully sent or not. Maybe you would want to know beforehand to display "disconnected" or not. Maybe pusher has something like socket.io "connected" property?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants