JvmNioAsyncServer

class JvmNioAsyncServer(val requestPort: Int, val host: String, val backlog: Int = -1) : AsyncServer

Constructors

Link copied to clipboard
constructor(requestPort: Int, host: String, backlog: Int = -1)

Properties

Link copied to clipboard
open override val backlog: Int
Link copied to clipboard
open override val host: String
Link copied to clipboard
open override val port: Int
Link copied to clipboard
open override val requestPort: Int
Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun accept(): AsyncClient
Link copied to clipboard
open suspend override fun close()
Link copied to clipboard
suspend fun init()
Link copied to clipboard
open suspend fun listen(handler: suspend (AsyncClient) -> Unit): Closeable
Link copied to clipboard
open suspend fun listenFlow(): Flow<AsyncClient>