sendKeepAlive (method)
Sends a keep-alive message.
Syntax
- (BOOL)sendKeepAlive;
public func sendKeepAlive() throws -> Bool
Remarks
Use this method to send a keep-alive 'ping' to the server. The response, if it comes back, will be reported via the KeepAliveResponse event.
Keep-alive messages provide good means for keeping the connection alive and stay immune to timeouts.