NativeAsyncServer

class NativeAsyncServer(val socket: NativeSocket, val requestPort: Int, val backlog: Int) : AsyncServer

Constructors

Link copied to clipboard
constructor(socket: NativeSocket, requestPort: Int, backlog: Int)

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
open suspend fun listen(handler: suspend (AsyncClient) -> Unit): Closeable
Link copied to clipboard
open suspend fun listenFlow(): Flow<AsyncClient>