ping#

ansys.hps.client.connection.ping(session, url, timeout=10.0)#

Ping the given URL.

Return type:

bool

Parameters:
sessionrequests.Session

Session object.

urlstr

URL address to ping.

timeoutfloat, optional

Time in seconds to continue pinging the URL before reporting a failure. The default is 10.0.

Returns:
bool

True when successful, False when failed.