korolev.Router
See theRouter companion object
final case class Router[F[_], S](fromState: PartialFunction[S, PathAndQuery], toState: PartialFunction[PathAndQuery, S => F[S]])
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
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article