package server
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- server
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- final class FormDataCodec extends AnyRef
- final class HtmlRenderContext[F[_], S, M] extends AbstractTextRenderContext[Effect[F, S, M]]
- type KorolevService[F[_]] = PartialFunction[Request[F], F[Response]]
- case class KorolevServiceConfig[F[_], S, M](stateStorage: state.StateStorage[F, S], router: Router[F, S], rootPath: String = "/", render: PartialFunction[S, Node[Effect[F, S, M]]], head: (S) ⇒ Seq[Node[Effect[F, S, M]]] = (_: S) => Seq.empty, connectionLostWidget: Node[Effect[F, S, M]] = ..., maxFormDataEntrySize: Int = 1024 * 1024 * 8, envConfigurator: EnvConfigurator[F, S, M] = EnvConfigurator.default[F, S, M], idGenerator: IdGenerator[F] = IdGenerator.default[F](), heartbeatInterval: FiniteDuration = 5.seconds, reporter: Reporter = Reporter.PrintReporter)(implicit evidence$1: Async[F]) extends Product with Serializable
- type MimeTypes = (String) ⇒ Option[String]
- final case class Request[F[_]](path: Path, params: Map[String, String], cookie: (String) ⇒ Option[String], headers: Seq[(String, String)], body: LazyBytes[F])(implicit evidence$1: Async[F]) extends Product with Serializable
- sealed trait Response extends AnyRef
- type StateStorage[F[_], S] = state.StateStorage[F, S]
Value Members
- val StateStorage: state.StateStorage.type
- def korolevService[F[_], S, M](mimeTypes: MimeTypes, config: KorolevServiceConfig[F, S, M])(implicit arg0: Async[F], arg1: StateSerializer[S], arg2: StateDeserializer[S]): KorolevService[F]
- object FormDataCodec
- object HtmlRenderContext
- object KorolevServiceConfig extends Serializable
- object Response
- object mimeTypes extends (String) ⇒ Option[String]
Deprecated Value Members
-
def
emptyRouter[F[_], S](implicit arg0: Async[F]): Router[F, S]
- Annotations
- @deprecated
- Deprecated
(Since version 0.12.0) Use Router.empty instead