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

Provide command to verify connection status #36

Open
fraunhofer-iis-bot opened this issue May 19, 2021 · 0 comments
Open

Provide command to verify connection status #36

fraunhofer-iis-bot opened this issue May 19, 2021 · 0 comments
Labels

Comments

@fraunhofer-iis-bot
Copy link
Collaborator

In GitLab by @jannismain on May 19, 2021, 15:33

Rationale

A ping-like command is required to test, whether

  • the connection has been established successfully (right after it has been established)
  • the server is ready to handle requests (also after longer periods of inactivity)
  • the connection is compromised in any other way not reflected by the TCP connection status (e.g. server busy)

This could also be used to check, whether the server is still alive, in cases where a server status is reported.

Story

  • As a libjapi client
  • I want to check whether the connection to the server is working
  • In order to inform the user, when the connection might not be working properly

Example

The messages could look like this:

Request:

{
    "japi_request": "japi_ping"
}

Response:

{
    "japi_response": "japi_ping",
    "data": {
        "success": true
    }
}

Inspiration

This addition was inspired by Interstellar's test_connection command

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

No branches or pull requests

1 participant