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.
A middleware is a function of one Service to another, possibly of a different Request and Response type. http4s comes with several middlewares for composing common functionality into services.
-
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[F[_]] extends AnyRef
- trait ServerBuilder[F[_]] extends BackendBuilder[F, Server[F]]
- type ServiceErrorHandler[F[_]] = (Request[F]) ⇒ PartialFunction[Throwable, F[Response[F]]]
-
final
case class
KeyStoreBits(keyStore: StoreInfo, keyManagerPassword: String, protocol: String, trustStore: Option[StoreInfo], clientAuth: SSLClientAuthMode) extends SSLConfig with Product with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 0.21.0-RC3) No longer used
-
type
SSLBits = SSLConfig
Old name for SSLConfig
Old name for SSLConfig
- Annotations
- @deprecated
- Deprecated
(Since version 2016-12-31) Use SSLConfig
-
sealed
trait
SSLConfig extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 0.21.0-RC3) No longer used
-
final
case class
SSLContextBits(sslContext: SSLContext, clientAuth: SSLClientAuthMode) extends SSLConfig with Product with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 0.21.0-RC3) No longer used
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 AsyncTimeoutSupport
- object AuthMiddleware
- object ContextMiddleware
- object ContextRouter
- object IdleTimeoutSupport
- object Middleware
- object Router
- object SSLClientAuthMode extends Serializable
- object SSLKeyStoreSupport
- object SecureSession extends Serializable
- object ServerBuilder
- object ServerRequestKeys
- object defaults