IPWorks WebSockets 2020 Kotlin Edition

Questions / Feedback?

DataToSend Property

A string of data to be sent to the remote host.


public fun setDataToSend(dataToSend: String)
public fun setDataToSend(dataToSend: ByteArray?)

Default Value



Assigning a string to this property makes the component send the string to the remote host. The Send method provides similar functionality.

When this property is set the component will use the value specified in DataFormat to determine the encoding options.

This property is write-only and not available at design time.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 Kotlin Edition - Version 20.0 [Build 7721]