IPWorks WebSockets 2020 macOS Edition

Questions / Feedback?

SendText Method

Sends text data to the server.

Syntax

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 macOS Edition - Version 20.0 [Build 8155]