pingKeepAlivePeriod
How long to wait between each ping message sent to the server. The client periodically sends ping messages to the server to check if the connection is still alive. Shorter periods make connection state change notifications more responsive at the cost of battery life (as the antenna will have to wake up more often).
Only durations 5 seconds are allowed. Default is 1 minute.
Throws
if the duration is outside the allowed range.