Router

final case class Router[F[_], S](fromState: PartialFunction[S, PathAndQuery], toState: PartialFunction[PathAndQuery, S => F[S]])

URL routing definition

URL routing definition

Type Params
F

A async control

S

Type of State

Value Params
fromState

From current state to Uri

toState

From Uri to state

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product