Packages

final class EmberServerBuilder[F[_]] extends AnyRef

Self Type
EmberServerBuilder[F]
Source
EmberServerBuilder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EmberServerBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val additionalSocketOptions: List[SocketOption]
  2. def build: Resource[F, Server]
  3. val host: Option[Host]
  4. val idleTimeout: Duration
  5. val maxConcurrency: Int
  6. val maxHeaderSize: Int
  7. val port: Port
  8. val receiveBufferSize: Int
  9. val requestHeaderReceiveTimeout: Duration
  10. val shutdownTimeout: Duration
  11. def withErrorHandler(errorHandler: PartialFunction[Throwable, F[Response[F]]]): EmberServerBuilder[F]
  12. def withHost(host: Host): EmberServerBuilder[F]
  13. def withHostOption(host: Option[Host]): EmberServerBuilder[F]
  14. def withHttpApp(httpApp: HttpApp[F]): EmberServerBuilder[F]
  15. def withIdleTimeout(idleTimeout: Duration): EmberServerBuilder[F]
  16. def withLogger(l: Logger[F]): EmberServerBuilder[F]
  17. def withMaxConcurrency(maxConcurrency: Int): EmberServerBuilder[F]
  18. def withMaxHeaderSize(maxHeaderSize: Int): EmberServerBuilder[F]
  19. def withOnWriteFailure(onWriteFailure: (Option[Request[F]], Response[F], Throwable) ⇒ F[Unit]): EmberServerBuilder[F]
  20. def withPort(port: Port): EmberServerBuilder[F]
  21. def withReceiveBufferSize(receiveBufferSize: Int): EmberServerBuilder[F]
  22. def withRequestHeaderReceiveTimeout(requestHeaderReceiveTimeout: Duration): EmberServerBuilder[F]
  23. def withShutdownTimeout(shutdownTimeout: Duration): EmberServerBuilder[F]
  24. def withSocketGroup(sg: SocketGroup[F]): EmberServerBuilder[F]
  25. def withTLS(tlsContext: TLSContext[F], tlsParameters: TLSParameters = TLSParameters.Default): EmberServerBuilder[F]
  26. def withoutHost: EmberServerBuilder[F]
  27. def withoutTLS: EmberServerBuilder[F]

Deprecated Value Members

  1. 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