IPWorks WebSockets 2020 iOS Edition

Questions / Feedback?

sendText (method)

Sends text data to the client.

Syntax

- (void)sendText:(int)connectionId :(NSString*)text;
public func sendText(_ connectionId: Int32, _ text: String) throws -> Void

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.

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