Server

zio.http.Server
See theServer companion object
trait Server

Represents a server, which is capable of serving zero or more HTTP applications.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def install[R](httpApp: HttpApp[R])(implicit trace: Trace): URIO[R, Unit]

Installs the given HTTP application into the server.

Installs the given HTTP application into the server.

Attributes

def port: Int

The port on which the server is listening.

The port on which the server is listening.

Attributes