iri-0.3.4: RFC-based International Resource Identifier library
Iri.Parsing.ByteString
Synopsis
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.
uri
regName :: ByteString -> Either Text RegName Source #
Domain name parser.