package server
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- server
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type HttpRequest[F[_]] = Request[Stream[F, Bytes]]
- type HttpResponse[F[_]] = Response[Stream[F, Bytes]]
- 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[HttpRequest[F], F[HttpResponse[F]]], router: Router[F, S] = Router.empty[F, S], rootPath: Path = PathAndQuery.Root, 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]] = 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, recovery: PartialFunction[Throwable, (S) => S] = PartialFunction.empty[Throwable, S => S])(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