HttpServer

oxygen.http.server.HttpServer
See theHttpServer companion object
trait HttpServer

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def start(config: Config, endpoints: Endpoints, middlewares: Seq[EndpointMiddleware]): RIO[Scope, Unit]

Calling this should not block until the server is closed. Server should stop when scope is closed.

Calling this should not block until the server is closed. Server should stop when scope is closed.

Attributes