package server
- Source
- package.scala
- Alphabetic
- By Inheritance
- server
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait AsyncTimeoutSupport[F[_]] extends AnyRef
-
type
AuthMiddleware[F[_], T] = (Kleisli[[β$1$]OptionT[F, β$1$], AuthedRequest[F, T], Response[F]]) ⇒ Kleisli[[β$1$]OptionT[F, β$1$], Request[F], Response[F]]
An HTTP middleware that authenticates users.
-
type
HttpMiddleware[F[_]] = (Kleisli[[β$0$]OptionT[F, β$0$], Request[F], Response[F]]) ⇒ Kleisli[[β$0$]OptionT[F, β$0$], Request[F], Response[F]]
An HTTP middleware converts an HttpRoutes to another.
- trait IdleTimeoutSupport[F[_]] extends AnyRef
- final case class KeyStoreBits(keyStore: StoreInfo, keyManagerPassword: String, protocol: String, trustStore: Option[StoreInfo], clientAuth: Boolean) extends SSLConfig with Product with Serializable
-
type
Middleware[F[_], A, B, C, D] = (Kleisli[F, A, B]) ⇒ Kleisli[F, C, D]
A middleware is a function of one Service to another, possibly of a different Request and Response type.
- sealed trait SSLConfig extends AnyRef
- final case class SSLContextBits(sslContext: SSLContext, clientAuth: Boolean) extends SSLConfig with Product with Serializable
- trait SSLContextSupport[F[_]] extends AnyRef
- trait SSLKeyStoreSupport[F[_]] extends AnyRef
- abstract class Server[F[_]] extends AnyRef
- trait ServerBuilder[F[_]] extends AnyRef
- type ServiceErrorHandler[F[_]] = (Request[F]) ⇒ PartialFunction[Throwable, F[Response[F]]]
- trait WebSocketSupport[F[_]] extends AnyRef
-
type
SSLBits = SSLConfig
Old name for SSLConfig
Old name for SSLConfig
- Annotations
- @deprecated
- Deprecated
(Since version 2016-12-31) Use SSLConfig
Value Members
- def DefaultServiceErrorHandler[F[_]](implicit F: Monad[F]): ServiceErrorHandler[F]
- object AsyncTimeoutSupport
- object AuthMiddleware
- object IdleTimeoutSupport
- object Middleware
- object Router
- object SSLKeyStoreSupport
- object ServerBuilder