package server
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- server
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type HttpRequest[F[_]] = Request[LazyBytes[F]]
- type HttpResponse[F[_]] = Response[LazyBytes[F]]
- trait KorolevService[F[_]] extends AnyRef
- case class KorolevServiceConfig[F[_], S, M](stateLoader: StateLoader[F, S], stateStorage: StateStorage[F, S] = null, http: PartialFunction[HttpRequest[F], F[HttpResponse[F]]] = PartialFunction.empty, 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, document: (S) ⇒ Node[Binding[F, S, M]] = null, connectionLostWidget: Node[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
- type StateLoader[F[_], S] = (DeviceId, Head) ⇒ F[S]
- type WebSocketRequest[F[_]] = Request[Stream[F, String]]
- type WebSocketResponse[F[_]] = Response[Stream[F, String]]
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 KorolevServiceConfig extends Serializable
- object StateLoader