TextStreamSender

class TextStreamSender(val info: TextStreamInfo, destination: StreamDestination<String>) : BaseStreamSender<String>

Constructors

Link copied to clipboard
constructor(info: TextStreamInfo, destination: StreamDestination<String>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun close(reason: String? = null)
Link copied to clipboard
suspend fun write(data: String)