| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Nero.Url
- data Url = Url Scheme Host Path Query
- data Scheme
- type Host = ByteString
- type Path = Text
- type Query = MultiMap
- class HasUrl a where
- class Location a where
- location :: Traversal' a Url
- class HasHost a where
- class HasPath a where
- class HasQuery a where
- class Param a where
- param :: Text -> Traversal' a Text
- dummyUrl :: Url
URL
The scheme given in the Url, i.e. http or https.
type Host = ByteString Source
The host name of a Url.
Traversal' to obtain the Url of types with Location.
Methods
location :: Traversal' a Url Source
A Traversal' of the values of a given HTTP parameter.
Methods
param :: Text -> Traversal' a Text Source