Skip to contents

Issues a lightweight, unauthenticated request against the server's ping endpoint. This tests connectivity only - use hb_check_credentials() to test whether the client's credentials are accepted.

Usage

hb_ping(client, ...)

Arguments

client

A harbour_client.

...

These dots are for future extensions and must be empty.

Value

The client, invisibly. Errors if the server is unreachable.

Details

Returns the client invisibly, so it composes: client |> hb_ping() |> hb_read_table("Samples").

Examples

if (FALSE) { # interactive()
client <- hb_client()
hb_ping(client)
}