EmberServerBuilder

final
class EmberServerBuilder[F[_]]
Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def build: Resource[F, Server]
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 withHttpWebSocketApp(f: WebSocketBuilder2[F] => HttpApp[F]): EmberServerBuilder[F]
def withIdleTimeout(idleTimeout: Duration): EmberServerBuilder[F]
def withLogger(l: Logger[F]): EmberServerBuilder[F]
def withMaxConnections(maxConnections: 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): EmberServerBuilder[F]
def withUnixSocketConfig(unixSockets: UnixSockets[F], unixSocketAddress: UnixSocketAddress, deleteIfExists: Boolean, deleteOnClose: Boolean): EmberServerBuilder[F]

Deprecated methods

@deprecated("Use org.http4s.ember.server.EmberServerBuilder.withMaxConnections", "0.22.3")
def withMaxConcurrency(maxConcurrency: Int): EmberServerBuilder[F]
Deprecated
@deprecated("0.21.17", "Use withErrorHandler - Do not allow the F to fail")
def withOnError(onError: Throwable => Response[F]): EmberServerBuilder[F]
Deprecated

Concrete fields

val additionalSocketOptions: List[SocketOption]
val host: Option[Host]
val idleTimeout: Duration
val maxHeaderSize: Int
val port: Port
val shutdownTimeout: Duration

Deprecated fields

@deprecated("Use org.http4s.ember.server.EmberServerBuilder.maxConnections", "0.22.3")
Deprecated