Sends text data to the server.
public fun sendText(text: String?)
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 component will UTF-8 encode the supplied text.