SendText Method
Sends text data to the client.
Object Oriented Interface
public function doSendText($connectionid, $text);
Procedural Interface
ipworksws_websocketserver_do_sendtext($res, $connectionid, $text);
Remarks
This method sends text to the client identified by ConnectionId. Data sent with this method will always be treated as text data regardless of the value of WebSocketConnectionDataFormat. The class will UTF-8 encode the supplied text.