JvmHttpServer

oxygen.http.server.JvmHttpServer
final case class JvmHttpServer(streamChunkSize: Int, requestMiddlewares: Chunk[RequestMiddleware], responseMiddlewares: Chunk[ResponseMiddleware]) extends HttpServer

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait HttpServer
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override 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

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product