Package-level declarations
Types
Link copied to clipboard
class ServerIncomingConnection(val input: ByteReadChannel, val output: ByteWriteChannel, val remoteAddress: NetworkAddress?, val localAddress: NetworkAddress?)
Represents a server incoming connection. Usually it is a TCP connection but potentially could be other transport.
Link copied to clipboard
Represents a request scope.
Functions
Link copied to clipboard
fun CoroutineScope.httpServer(settings: HttpServerSettings, handler: HttpRequestHandler): HttpServer
Link copied to clipboard
fun CoroutineScope.startServerConnectionPipeline(connection: ServerIncomingConnection, timeout: Duration, handler: HttpRequestHandler): Job