WebGear.Server.Trait.Path
Contents
Description
Server implementation of the path traits.
Methods
getTrait :: forall (ts :: [Type]). Prerequisite Path ts Request => Path -> ServerHandler m (With Request ts) (Either (Absence Path Request) (Attribute Path Request)) #
getTrait :: forall (ts :: [Type]). Prerequisite PathEnd ts Request => PathEnd -> ServerHandler m (With Request ts) (Either (Absence PathEnd Request) (Attribute PathEnd Request)) #
getTrait :: forall (ts :: [Type]). Prerequisite (PathVar tag val) ts Request => PathVar tag val -> ServerHandler m (With Request ts) (Either (Absence (PathVar tag val) Request) (Attribute (PathVar tag val) Request)) #