HttpServer

class HttpServer

Represents a server instance

Constructors

<init>

HttpServer(
    rootServerJob: Job,
    acceptJob: Job,
    serverSocket: Deferred<ServerSocket>)

Represents a server instance

Properties

acceptJob

val acceptJob: Job

client connections accepting job

rootServerJob

val rootServerJob: Job

server job - root for all jobs

serverSocket

val serverSocket: Deferred<ServerSocket>

a deferred server socket instance, could be completed with error if it failed to bind