Server

zio.http.Server$
See theServer companion trait
object Server

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Server.type

Members list

Concise view

Type members

Types

type ErrorCallback = Throwable => ZIO[Any, Nothing, Unit]

Value members

Concrete methods

def install[R](httpApp: App[R], errorCallback: Option[ErrorCallback])(implicit trace: Trace): URIO[R & Server, Int]
def serve[R](httpApp: App[R], errorCallback: Option[ErrorCallback])(implicit trace: Trace): URIO[R & Server, Nothing]