Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ws keepalive #2307

Merged
merged 2 commits into from
Sep 23, 2019
Merged

ws keepalive #2307

merged 2 commits into from
Sep 23, 2019

Conversation

argakiig
Copy link
Contributor

provides a keep alive in the form of action

{
    "action":"ping"
{

with a response of

{
    "ack": "pong",
    "time": "<ms since epoch>"
}

This allows for checking liveliness of websocket without refreshing or creating a subscription

@argakiig argakiig self-assigned this Sep 20, 2019
@argakiig argakiig added the documentation This item indicates the need for or supplies updated or expanded documentation label Sep 20, 2019
@guilhermelawless guilhermelawless merged commit c2150bc into nanocurrency:master Sep 23, 2019
guilhermelawless added a commit to guilhermelawless/nano-docs that referenced this pull request Sep 23, 2019
@argakiig argakiig deleted the ws_keepalive branch September 24, 2019 16:53
guilhermelawless added a commit to nanocurrency/nano-docs that referenced this pull request Sep 25, 2019
* Websocket updates

- PoW notification nanocurrency/nano-node#2289
- Keepalive nanocurrency/nano-node#2307

* Update advanced.md
@argakiig argakiig added this to the V20.0 milestone Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This item indicates the need for or supplies updated or expanded documentation websockets
Projects
No open projects
V20
Awaiting triage
Development

Successfully merging this pull request may close these issues.

None yet

3 participants