Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- data QueryParam
- newtype QueryString = QueryString {}
- encodeQuery :: QueryString -> Query
- decodeQuery :: Query -> QueryString
- data Url = Url {
- urlPath :: ![Text]
- urlQueryString :: !QueryString
- encodeUrl :: Url -> Text
- decodeUrl :: Text -> Url
Untyped Query Parameters
data QueryParam Source #
Instances
Eq QueryParam Source # | |
Defined in Trasa.Url (==) :: QueryParam -> QueryParam -> Bool # (/=) :: QueryParam -> QueryParam -> Bool # | |
Semigroup QueryParam Source # | |
Defined in Trasa.Url (<>) :: QueryParam -> QueryParam -> QueryParam # sconcat :: NonEmpty QueryParam -> QueryParam # stimes :: Integral b => b -> QueryParam -> QueryParam # | |
Monoid QueryParam Source # | |
Defined in Trasa.Url mempty :: QueryParam # mappend :: QueryParam -> QueryParam -> QueryParam # mconcat :: [QueryParam] -> QueryParam # |
newtype QueryString Source #
Instances
Eq QueryString Source # | |
Defined in Trasa.Url (==) :: QueryString -> QueryString -> Bool # (/=) :: QueryString -> QueryString -> Bool # |
encodeQuery :: QueryString -> Query Source #
decodeQuery :: Query -> QueryString Source #
Urls (path + query string)
Url | |
|