sendText (method)
Sends text data to the server.
Syntax
- (void)sendText:(NSString*)text;
public func sendText(_ text: String) throws -> Void
Remarks
This method sends data as text to the server. Data sent with this method will always be treated as text data regardless of the value of DataFormat. The class will UTF-8 encode the supplied text.