Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class AsyncSocketFactory
Link copied to clipboard
inline class DataURL(val url: String) : AutoCloseable
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 MimeType(val mime: String, val exts: List<String>) : Vfs.Attribute
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class URL

Functions

Link copied to clipboard
fun AsyncAddress(address: String = "0.0.0.0", port: Int = 0, unit: Unit = Unit): HostWithPort
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