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
ContextMiddleware[F[_], T] = (Kleisli[[β$2$]OptionT[F, β$2$], ContextRequest[F, T], Response[F]]) ⇒ Kleisli[[β$2$]OptionT[F, β$2$], Request[F], Response[F]]
An HTTP middleware that adds a context.
-
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.
-
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
- final case class SecureSession(sslSessionId: String, cipherSuite: String, keySize: Int, X509Certificate: List[X509Certificate]) extends Product with Serializable
- abstract class Server extends AnyRef
- trait ServerBuilder[F[_]] extends BackendBuilder[F, Server]
- type ServiceErrorHandler[F[_]] = (Request[F]) ⇒ PartialFunction[Throwable, F[Response[F]]]
Value Members
- def DefaultServiceErrorHandler[F[_]](implicit F: Monad[F]): (Request[F]) ⇒ PartialFunction[Throwable, F[Response[F]]]
- def inDefaultServiceErrorHandler[F[_], G[_]](implicit F: Monad[F]): (Request[G]) ⇒ PartialFunction[Throwable, F[Response[G]]]
- object AuthMiddleware
- object ContextMiddleware
- object ContextRouter
- object Router
- object SSLClientAuthMode extends Serializable
- object SSLKeyStoreSupport
- object SecureSession extends Serializable
- object ServerRequestKeys
- object defaults extends DefaultsPlatform