clearCommandChannel (method)
Sends CCC (Clear Command Channel) command to the server.
Syntax
- (void)clearCommandChannel:(BOOL)gracefulSSLClosure;
public func clearCommandChannel(_ gracefulSSLClosure: Bool) throws -> Void
Remarks
Use this method to send a CCC command. CCC clears command channel encryption state, turning off TLS encryption.
Some servers expect this command to allow for the control channel to be properly handled by NATs.