Uniform resource identifier (URI) reference. We use refined Text
(RText l) here because information is presented in human-readable
form, i.e. percent-decoded, and thus it may contain Unicode characters.
Constructors
URIuriScheme :: Maybe (RText 'Scheme)URI scheme, if Nothing, then the URI reference is relative
uriAuthority :: Either Bool AuthorityuriPath :: Maybe (Bool, NonEmpty (RText 'PathPiece))uriQuery :: [QueryParam]Query parameters, RFC 3986 does not define the inner organization of query string, so we deconstruct it following RFC 1866 here
uriFragment :: Maybe (RText 'Fragment)Fragment, without
#
Instances10Eq, Data, Ord, Show, Generic, NFData, …
Eq URIDefined in modern-uri-0.3.6.0 · Text.URI.TypesData URIDefined in modern-uri-0.3.6.0 · Text.URI.TypesOrd URIDefined in modern-uri-0.3.6.0 · Text.URI.TypesShow URIDefined in modern-uri-0.3.6.0 · Text.URI.TypesGeneric URIDefined in modern-uri-0.3.6.0 · Text.URI.TypesNFData URIDefined in modern-uri-0.3.6.0 · Text.URI.TypesArbitrary URIDefined in modern-uri-0.3.6.0 · Text.URI.TypesHashable URIDefined in modern-uri-0.3.6.0 · Text.URI.TypesLift URIDefined in modern-uri-0.3.6.0 · Text.URI.Typestype Rep URI = D1 ('MetaDataDefined in modern-uri-0.3.6.0 · Text.URI.Types"URI"
"Text.URI.Types"
"modern-uri-0.3.6.0-38unqINNGnZ4tnObMjfOTS"
'False) (C1 ('MetaCons"URI"
'PrefixI 'True) ((S1 ('MetaSel ('Just"uriScheme"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (RText 'Scheme))) :*: S1 ('MetaSel ('Just"uriAuthority"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Either Bool Authority))) :*: (S1 ('MetaSel ('Just"uriPath"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Bool, NonEmpty (RText 'PathPiece)))) :*: (S1 ('MetaSel ('Just"uriQuery"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [QueryParam]) :*: S1 ('MetaSel ('Just"uriFragment"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (RText 'Fragment)))))))