scotty-params-parser-0.5.1: HTTP-request's query parameters parser abstraction for "scotty"

Safe HaskellNone
LanguageHaskell2010

Scotty.ParamsParser

Description

A DSL for parsing of an HTTP request query parameters.

Synopsis

Documentation

run :: (ScottyError e, Monad m) => Params a -> ActionT e m a Source

param :: Text -> Matcher Text a -> Params a Source

Given a parameter name and a parser attempts to get it.