Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class ByteStreamSender(val info: ByteStreamInfo, destination: StreamDestination<ByteArray>) : BaseStreamSender<ByteArray>
A stream sender for sending byte-based messages (e.g. files, images, etc.)
Link copied to clipboard
interface OutgoingDataStreamManager
Link copied to clipboard
class TextStreamSender(val info: TextStreamInfo, destination: StreamDestination<String>) : BaseStreamSender<String>
Functions
Link copied to clipboard
inline suspend fun <S : BaseStreamSender<*>, R> useStreamSender(sender: S, block: suspend S.() -> R): Result<R>
Link copied to clipboard
Reads the input stream and sends it to the data stream.
Reads the source and sends it to the data stream.