org.http4s.blaze.server

Type members

Classlikes

class BlazeServerBuilder[F[_]] extends ServerBuilder[F] with BlazeBackendBuilder[Server]

BlazeServerBuilder is the component for the builder pattern aggregating different components to finally serve requests.

BlazeServerBuilder is the component for the builder pattern aggregating different components to finally serve requests.

Variables:

Value Params
banner:

Pretty log to display on server start. An empty sequence such as Nil disables this

bufferSize:

Buffer size to use for IO operations

chunkBufferMaxSize

Size of the buffer that is used when Content-Length header is not specified.

connectorPoolSize:

Number of worker threads for the new Socket Server Group

enableWebsockets:

Enables Websocket Support

executionContext:

Execution Context the underlying blaze futures will be executed upon.

idleTimeout:

Period of Time a connection can remain idle before the connection is timed out and disconnected. Duration.Inf disables this feature.

isHttp2Enabled:

Whether or not to enable Http2 Server Features

isNio2:

Whether or not to use NIO2 or NIO1 Socket Server Group

maxConnections:

The maximum number of client connections that may be active at any time.

maxHeadersLen:

Maximum data that composes the headers. If exceeded returns a 400 Bad Request.

maxRequestLineLength:

Maximum request line to parse If exceeded returns a 400 Bad Request.

responseHeaderTimeout:

Time from when the request is made until a response line is generated before a 503 response is returned and the HttpApp is canceled

serviceErrorHandler:

The last resort to recover and generate a response this is necessary to recover totality from the error condition.

serviceMounts:

The services that are mounted on this server to serve. These services get assembled into a Router with the longer prefix winning.

socketAddress:

Socket Address the server will be mounted at

sslBits:

If defined enables secure communication to the server using the sslContext

Companion
object
Companion
class