korolev
package korolev
Members list
Type members
Classlikes
Component definition. Every Korolev application is a component. Extent it to declare component in object oriented style.
Component definition. Every Korolev application is a component. Extent it to declare component in object oriented style.
Type parameters
- E
-
Type of events produced by component
- F
-
Control monad
- S
-
State of the component
Value parameters
- id
-
Unique identifier of the component. Use it when you create component declaration dynamically
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object Component
object Context
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object Extension
Qualified Session Identifier
Qualified Session Identifier
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class Router[F[_], S](fromState: PartialFunction[S, PathAndQuery], toState: PartialFunction[PathAndQuery, S => F[S]])
URL routing definition
URL routing definition
Type parameters
- F
-
A async control
- S
-
Type of State
Value parameters
- fromState
-
From current state to Uri
- toState
-
From Uri to state
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
In this article