|
|
|
|
|
| Description |
| Implements a data type for constructing and destructing
x-www-urlencoded strings. See
http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1
|
|
| Synopsis |
|
|
|
|
| Representation of a URL-encoded string
|
|
|
| A container for URLEncoded data
| Instances | |
|
|
|
| Create a URLEncoded object that represents all pairs from the
input that match the supplied predicate
|
|
|
| Serialize a value into a String for encoding as part of an
x-www-urlencoded value
| | | Methods | | | Instances | |
|
|
|
| Encode a value as x-www-urlencoded
| | | Methods | | | Instances | |
|
|
| Generate
|
|
|
| URLEncoded data with no pairs
|
|
|
| Parse this string as x-www-urlencoded
|
|
|
| Import this list of pairs as URLEncoded data
|
|
|
|
|
| Create singleton URLEncoded data containing the supplied key and value
|
|
|
| :: (URLShow a, URLShow b) | | | => a | value
| | -> Maybe b | | | -> URLEncoded | | | If the second value is Nothing, return empty URLEncoded
data. Otherwise return singleton URLEncoded data that contains the
given key and value.
|
|
|
|
|
| class AddURLEncoded a where | Source |
|
| | Methods | | | Instances | |
|
|
| Query
|
|
|
| Is this URLEncoded data empty?
|
|
|
| All of the keys from the URLEncoded value, in order, preserving duplicates
|
|
|
|
|
| Return all values whose keys match the supplied key, in the order
they appear in the query. Will return an empty list if no keys
match.
|
|
|
| Return the first value for the given key, or throw an error if the
key is not present in the URLEncoded data.
|
|
|
|
|
|
|
| Look up a key in a URLEncoded value and return the first matching
value, or Nothing if there is no value that matches
|
|
| Export
|
|
|
| Add this URL-encoded data to the query part of a URI, after any
existing query arguments.
|
|
|
| Convert this URLEncoded object into an x-www-urlencoded String
(The resulting string is 7-bit clean ASCII, containing only
unreserved URI characters and %-encoded values)
|
|
| Produced by Haddock version 2.6.0 |