package server
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- server
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait KorolevService[F[_]] extends AnyRef
- case class KorolevServiceConfig[F[_], S, M](stateLoader: StateLoader[F, S], stateStorage: StateStorage[F, S] = null, router: Router[F, S] = Router.empty[F, S], rootPath: String = "/", render: (S) => Node[Binding[F, S, M]] = (_: S) => levsha.dsl.html.body(), head: (S) => Seq[Node[Binding[F, S, M]]] = (_: S) => Seq.empty, connectionLostWidget: Node[Binding[F, S, M]] = KorolevServiceConfig.defaultConnectionLostWidget[Context.Binding[F, S, M]], maxFormDataEntrySize: Int = 1024 * 8, extensions: List[Extension[F, S, M]] = Nil, idGenerator: IdGenerator[F] = IdGenerator.default[F](), heartbeatInterval: FiniteDuration = 5.seconds, reporter: Reporter = Reporter.PrintReporter)(implicit evidence$1: Effect[F], executionContext: ExecutionContext) extends Product with Serializable
- final case class Request[Body](path: Path, param: (String) => Option[String], cookie: (String) => Option[String], headers: Seq[(String, String)], body: Body) extends RequestHeader with Product with Serializable
- final case class Response[Body](status: Status, body: Body, headers: Seq[(String, String)]) extends Product with Serializable
- type StateLoader[F[_], S] = (DeviceId, RequestHeader) => F[S]
Value Members
- def korolevService[F[_], S, M](config: KorolevServiceConfig[F, S, M])(implicit arg0: Effect[F], arg1: StateSerializer[S], arg2: StateDeserializer[S]): KorolevService[F]
- object Headers
- object KorolevServiceConfig extends Serializable
- object Request extends Serializable
- object Response extends Serializable
- object StateLoader