Package-level declarations

Types

Link copied to clipboard
data class AsyncAddress(val address: String = "0.0.0.0", val port: Int = 0)
Link copied to clipboard
Link copied to clipboard
abstract class AsyncSocketFactory
Link copied to clipboard
Link copied to clipboard
class FakeAsyncClient(val serverToClient: SyncStream = DequeSyncStream(), val clientToServer: SyncStream = DequeSyncStream(), val onConnect: Signal<Pair<String, Int>> = Signal(), val onClose: Signal<Unit> = Signal()) : AsyncClient
Link copied to clipboard
Link copied to clipboard
data class HostWithPort(val host: String, val port: Int)
Link copied to clipboard
class JvmAsyncClient(socket: <Error class: unknown class>? = null, val secure: Boolean = false) : AsyncClient
Link copied to clipboard
class JvmAsyncServer(val requestPort: Int, val host: String, val backlog: Int = -1, val secure: Boolean = false) : AsyncServer
Link copied to clipboard
Link copied to clipboard
class JvmNioAsyncServer(val requestPort: Int, val host: String, val backlog: Int = -1) : AsyncServer
Link copied to clipboard
class MimeType(val mime: String, val exts: List<String>) : Vfs.Attribute
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class URL

Functions

Link copied to clipboard
Link copied to clipboard
fun createBase64URLForData(data: ByteArray, contentType: String): String
Link copied to clipboard
suspend fun AsyncSocketFactory.createClient(host: String, port: Int, secure: Boolean = false): AsyncClient
Link copied to clipboard
suspend fun createTcpClient(secure: Boolean = false): AsyncClient
suspend fun createTcpClient(host: String, port: Int, secure: Boolean = false): AsyncClient
Link copied to clipboard
suspend fun createTcpServer(port: Int = AsyncServer.ANY_PORT, host: String = "127.0.0.1", backlog: Int = 511, secure: Boolean = false): AsyncServer
Link copied to clipboard
Link copied to clipboard
suspend fun NativeSocket.suspendRecvExact(data: ByteArray, offset: Int = 0, count: Int = data.size - offset): Int
Link copied to clipboard
suspend fun NativeSocket.suspendRecvUpTo(data: ByteArray, offset: Int = 0, count: Int = data.size - offset): Int
Link copied to clipboard
suspend fun NativeSocket.suspendSend(data: ByteArray, offset: Int = 0, count: Int = data.size - offset)
Link copied to clipboard
fun <Error class: unknown class>?.toAsyncAddress(): AsyncAddress