Package

korolev

Permalink

package korolev

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. korolev
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class Component[F[_], S, P, E] extends AnyRef

    Permalink

    Component definition.

    Component definition. Every Korolev application is a component. Extent it to declare component in object oriented style.

    F

    Control monad

    S

    State of the component

    E

    Type of events produced by component

  2. final class Context[F[_], S, M] extends AnyRef

    Permalink

    Provides DSLs and effects for application or component

    Provides DSLs and effects for application or component

    Since

    0.6.0

  3. final case class FormData(content: Seq[Entry]) extends Product with Serializable

    Permalink
  4. final class KorolevTemplateDsl[F[_], S, M] extends SymbolDsl[Effect[F, S, M]]

    Permalink

    Levsha DSL with enrichments.

  5. final case class LazyBytes[F[_]](pull: () ⇒ F[Option[Array[Byte]]], finished: F[Unit], cancel: () ⇒ F[Unit], size: Option[Long])(implicit async: Async[F]) extends Product with Serializable

    Permalink

    pull

    Function which should be invoked recursively until it return None.

    finished

    Completes when all bytes was pulled

    cancel

    Cancels pulling. After that pull can return None or Exception depends on implementation.

    size

    known (or not) size

  6. case class QualifiedSessionId(deviceId: DeviceId, id: SessionId) extends Product with Serializable

    Permalink
  7. case class Router[F[_], S, Ctx](fromState: PartialFunction[S, Path] = PartialFunction.empty, toState: PartialFunction[(Ctx, Path), F[S]] = PartialFunction.empty)(implicit evidence$1: Async[F]) extends Product with Serializable

    Permalink

    URL routing definition

    URL routing definition

    F

    A async control

    S

    Type of State

    Ctx

    Any additional data need to construct a state from path

    fromState

    From current state to path

    toState

    From path to state

  8. type Transition[State] = (State) ⇒ State

    Permalink
  9. final class ApplicationContext[F[_], S, M] extends AnyRef

    Permalink

    Legacy (version < 0.6.0) API layer.

    Legacy (version < 0.6.0) API layer.

    Deprecated
    See also

    Context

Value Members

  1. val /: korolev.Router./.type

    Permalink
  2. object ApplicationContext

    Permalink
  3. object Component

    Permalink
  4. object Context

    Permalink
  5. object Cookies

    Permalink
  6. object FormData extends Serializable

    Permalink
  7. object LazyBytes extends Serializable

    Permalink
  8. val Root: korolev.Router.Root.type

    Permalink
  9. object Router extends Serializable

    Permalink
  10. package execution

    Permalink
  11. package internal

    Permalink
  12. package state

    Permalink
  13. package utils

    Permalink

Deprecated Value Members

  1. val Effects: Context.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use Context instead of Effects

Inherited from AnyRef

Inherited from Any

Ungrouped