package server
- Source
- package.scala
- Alphabetic
- By Inheritance
- server
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait AsyncTimeoutSupport extends AnyRef
-
type
AuthMiddleware[T] = (Service[AuthedRequest[T], Response]) ⇒ Service[Request, Response]
An HTTP middleware that authenticates users.
-
type
HttpMiddleware = (Service[Request, Response]) ⇒ Service[Request, Response]
An HTTP middleware converts an HttpService to another.
- trait IdleTimeoutSupport extends AnyRef
-
type
Middleware[A, B, C, D] = (Service[A, B]) ⇒ Service[C, D]
A middleware is a function of one Service to another, possibly of a different Request and Response type.
- trait SSLSupport extends AnyRef
- trait Server extends AnyRef
-
trait
ServerApp
extends AnyRef
Starts a server and gracefully terminates at shutdown.
Starts a server and gracefully terminates at shutdown. The server is terminated and the shutdown task is run either by a JVM shutdown hook or an invocation of
requestShutdown()
.If the server fails to start, the
shutdown
task is not invoked. More robust resource management is possible throughProcessApp
orStreamApp
, which are introduced in http4s-0.16 and http4s-0.17, respectively. - trait ServerBuilder extends AnyRef
- final case class ServerSoftware (product: String, productVersion: Option[String] = None, comment: Option[String] = None) extends Product with Serializable
- trait WebSocketSupport extends AnyRef
Value Members
- def messageFailureHandler(req: Request): PartialFunction[Throwable, Task[Response]]
- object AsyncTimeoutSupport
- object AuthMiddleware
- object IdleTimeoutSupport
- object Middleware
- object Router
- object SSLSupport
- object ServerBuilder
- object ServerSoftware extends Serializable