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

Classlikes

final case class Config(sslConfig: Option[SSLConfig], address: InetSocketAddress, acceptContinue: Boolean, keepAlive: Boolean, requestDecompression: Decompression, responseCompression: Option[ResponseCompressionConfig], requestStreaming: RequestStreaming, maxHeaderSize: Int, logWarningOnFatalError: Boolean, gracefulShutdownTimeout: Duration, webSocketConfig: WebSocketConfig, idleTimeout: Option[Duration])

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
object Config

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Config.type

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait RequestStreaming

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Disabled
object Enabled.type

Value members

Concrete methods

def defaultWith(f: Config => Config)(implicit trace: Trace): ZLayer[Any, Throwable, Server]
def defaultWithPort(port: Int)(implicit trace: Trace): ZLayer[Any, Throwable, Server]
def install[R](httpApp: App[R])(implicit trace: Trace): URIO[R & Server, Int]
def serve[R](httpApp: App[R])(implicit trace: Trace): URIO[R & Server, Nothing]