sendCommand (method)
Sends a custom command to the server.
Syntax
- (int)sendCommand:(NSString*)command;
public func sendCommand(_ command: String) throws -> Int32
Remarks
This method sends an arbitrary command to the server and returns the status code received. Use it to send custom or non-standard commands, or tune up the session flow as required by the server.