object Server extends ServerPlatformSpecific
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Server
- ServerPlatformSpecific
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- final case class Config(sslConfig: Option[SSLConfig], address: InetSocketAddress, acceptContinue: Boolean, keepAlive: Boolean, requestDecompression: Decompression, responseCompression: Option[ResponseCompressionConfig], requestStreaming: RequestStreaming, maxInitialLineLength: Int, maxHeaderSize: Int, logWarningOnFatalError: Boolean, gracefulShutdownTimeout: zio.Duration, webSocketConfig: WebSocketConfig, idleTimeout: Option[zio.Duration]) extends Product with Serializable
- sealed trait RequestStreaming extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def configured(path: NonEmptyChunk[String] = ...)(implicit trace: Trace): ZLayer[Any, Throwable, Server]
-
val
customized: ZLayer[Config, Throwable, Server]
- Definition Classes
- ServerPlatformSpecific
- val default: ZLayer[Any, Throwable, Server]
- def defaultWith(f: (Config) ⇒ Config)(implicit trace: Trace): ZLayer[Any, Throwable, Server]
- def defaultWithPort(port: Int)(implicit trace: Trace): ZLayer[Any, Throwable, Server]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def install[R](httpApp: Routes[R, Response])(implicit trace: Trace, tag: zio.EnvironmentTag[R]): URIO[R with Server, Int]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
live: ZLayer[Config, Throwable, Server]
- Definition Classes
- ServerPlatformSpecific
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def serve[R](httpApp: Routes[R, Response])(implicit trace: Trace, tag: zio.EnvironmentTag[R]): URIO[R with Server, Nothing]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Config extends Serializable
- object RequestStreaming
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
def
install[R](httpApp: HttpApp[R])(implicit trace: Trace, tag: zio.EnvironmentTag[R]): URIO[R with Server, Int]
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-RC7) Install Routes instead. Will be removed in the next release.
-
def
serve[R](httpApp: HttpApp[R])(implicit trace: Trace, tag: zio.EnvironmentTag[R]): URIO[R with Server, Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-RC7) Serve Routes instead. Will be removed in the next release.