package server
- Source
- package.scala
- Alphabetic
- By Inheritance
- server
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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.
- final case class KeyStoreBits(keyStore: StoreInfo, keyManagerPassword: String, protocol: String, trustStore: Option[StoreInfo], clientAuth: SSLClientAuthMode) 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
SSLClientAuthMode extends Product with Serializable
Client Auth mode for mTLS
- sealed trait SSLConfig extends AnyRef
- final case class SSLContextBits(sslContext: SSLContext, clientAuth: SSLClientAuthMode) extends SSLConfig with Product with Serializable
- final case class SecureSession(sslSessionId: String, cipherSuite: String, keySize: Int, X509Certificate: List[X509Certificate]) extends Product with Serializable
- abstract class Server[F[_]] extends AnyRef
- trait ServerBuilder[F[_]] extends BackendBuilder[F, Server[F]]
- type ServiceErrorHandler[F[_]] = (Request[F]) ⇒ PartialFunction[Throwable, F[Response[F]]]
-
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 SSLClientAuthMode extends Serializable
- object SSLKeyStoreSupport
- object SecureSession extends Serializable
- object ServerBuilder
- object ServerRequestKeys
- object defaults