final class EmberServerBuilder[F[_]] extends AnyRef
- Self Type
- EmberServerBuilder[F]
- Source
- EmberServerBuilder.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EmberServerBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- val additionalSocketOptions: List[SocketOption]
- def build: Resource[F, Server]
- val host: Option[Host]
- val idleTimeout: Duration
- val maxConcurrency: Int
- val maxHeaderSize: Int
- val port: Port
- val receiveBufferSize: Int
- val requestHeaderReceiveTimeout: Duration
- val shutdownTimeout: Duration
- def withErrorHandler(errorHandler: PartialFunction[Throwable, F[Response[F]]]): EmberServerBuilder[F]
- def withHost(host: Host): EmberServerBuilder[F]
- def withHostOption(host: Option[Host]): EmberServerBuilder[F]
- def withHttpApp(httpApp: HttpApp[F]): EmberServerBuilder[F]
- def withIdleTimeout(idleTimeout: Duration): EmberServerBuilder[F]
- def withLogger(l: Logger[F]): EmberServerBuilder[F]
- def withMaxConcurrency(maxConcurrency: Int): EmberServerBuilder[F]
- def withMaxHeaderSize(maxHeaderSize: Int): EmberServerBuilder[F]
- def withOnWriteFailure(onWriteFailure: (Option[Request[F]], Response[F], Throwable) ⇒ F[Unit]): EmberServerBuilder[F]
- def withPort(port: Port): EmberServerBuilder[F]
- def withReceiveBufferSize(receiveBufferSize: Int): EmberServerBuilder[F]
- def withRequestHeaderReceiveTimeout(requestHeaderReceiveTimeout: Duration): EmberServerBuilder[F]
- def withShutdownTimeout(shutdownTimeout: Duration): EmberServerBuilder[F]
- def withSocketGroup(sg: SocketGroup[F]): EmberServerBuilder[F]
- def withTLS(tlsContext: TLSContext[F], tlsParameters: TLSParameters = TLSParameters.Default): EmberServerBuilder[F]
- def withoutHost: EmberServerBuilder[F]
- def withoutTLS: EmberServerBuilder[F]
Deprecated Value Members
-
def
withOnError(onError: (Throwable) ⇒ Response[F]): EmberServerBuilder[F]
- Annotations
- @deprecated
- Deprecated
(Since version Use withErrorHandler - Do not allow the F to fail) 0.21.17