| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.URI.Auth
Synopsis
- data URIAuth = URIAuth {
- uriAuthUser :: !(Maybe Text)
- uriAuthPassword :: !(Maybe Text)
- uriAuthHost :: !URIAuthHost
- uriAuthPort :: !(Maybe Word16)
- printURIAuth :: URIAuth -> Text
- parseURIAuth :: Parser URIAuth
Documentation
Constructors
| URIAuth | |
Fields
| |
Instances
| Arbitrary URIAuth Source # | |
| Generic URIAuth Source # | |
| Show URIAuth Source # | |
| Eq URIAuth Source # | |
| type Rep URIAuth Source # | |
Defined in Data.URI.Auth type Rep URIAuth = D1 ('MetaData "URIAuth" "Data.URI.Auth" "attoparsec-uri-0.0.9-D97SUu0YxKSL2Kn4naWiMR" 'False) (C1 ('MetaCons "URIAuth" 'PrefixI 'True) ((S1 ('MetaSel ('Just "uriAuthUser") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "uriAuthPassword") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "uriAuthHost") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URIAuthHost) :*: S1 ('MetaSel ('Just "uriAuthPort") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Word16))))) | |
printURIAuth :: URIAuth -> Text Source #
Prints the URI auth but omits the password even if present.