Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- uri :: ByteString -> Either Text Iri
- httpUri :: ByteString -> Either Text HttpIri
- regName :: ByteString -> Either Text RegName
- uriQuery :: ByteString -> Query
Documentation
uri :: ByteString -> Either Text Iri Source #
Parser of a well-formed URI conforming to the RFC3986 standard into IRI. Performs URL- and Punycode-decoding.
httpUri :: ByteString -> Either Text HttpIri Source #
Same as uri
, but optimized specifially for the case of HTTP URIs.
uriQuery :: ByteString -> Query Source #
Assuming we have a valid URI as input, extract the query part from it.