NetworkClientApple

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract suspend fun connect(action: NetworkAction, params: String)

suspend override fun connect(action: NetworkAction, params: String?)

Perform network connection with another machine.

Link copied to clipboard
abstract suspend fun disconnect()

Perform network disconnection with another machine.

Link copied to clipboard
abstract suspend fun read(): ByteArray

Read bytes from another machine.

Link copied to clipboard
abstract suspend fun send(bytes: ByteArray)

Send bytes to another machine.

abstract suspend fun send(text: String)

Send text to another machine.