Safe Haskell | None |
---|---|
Language | Haskell2010 |
Render requests in various ways
Synopsis
- renderRequestBuilder :: Request -> Query -> Builder
- renderUrlRequestBuilder :: Request -> Query -> Builder
- renderHamletUrl :: BoundRoute -> [(Text, Text)] -> Text
Documentation
renderRequestBuilder :: Request -> Query -> Builder Source #
This renders a request along with additional query parameters as [/host][path][?query]
.
Each component is included only if it's specified by the route.
renderUrlRequestBuilder :: Request -> Query -> Builder Source #
This renders a request along with additional query parameters as scheme:[/host][path][?query]
.
It's roughly equivalent to rendering the requestURI
.
renderHamletUrl :: BoundRoute -> [(Text, Text)] -> Text Source #