sendKeepAlive (method)
Sends a keep-alive packet.
Syntax
- (BOOL)sendKeepAlive:(long long)connectionId;
public func sendKeepAlive(_ connectionId: Int64) throws -> Bool
Remarks
Use this method to send a keep-alive packet to a client. Keep alive is an empty packet; keep-alive signals sent occasionally can be used to keep connection up.