| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Servant.Client.Core.Internal.BaseUrl
Synopsis
- data Scheme
- data BaseUrl = BaseUrl {}
- showBaseUrl :: BaseUrl -> String
- data InvalidBaseUrlException = InvalidBaseUrlException String
- parseBaseUrl :: MonadThrow m => String -> m BaseUrl
Documentation
URI scheme to use
Simple data type to represent the target of HTTP requests for servant's automatically-generated clients.
Constructors
| BaseUrl | |
Fields
| |
Instances
| Eq BaseUrl Source # | |
| Ord BaseUrl Source # | |
Defined in Servant.Client.Core.Internal.BaseUrl | |
| Show BaseUrl Source # | |
| Generic BaseUrl Source # | |
| type Rep BaseUrl Source # | |
Defined in Servant.Client.Core.Internal.BaseUrl type Rep BaseUrl = D1 (MetaData "BaseUrl" "Servant.Client.Core.Internal.BaseUrl" "servant-client-core-0.14.1-FKnmINyAR8AHPAf2gxjsat" False) (C1 (MetaCons "BaseUrl" PrefixI True) ((S1 (MetaSel (Just "baseUrlScheme") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Scheme) :*: S1 (MetaSel (Just "baseUrlHost") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :*: (S1 (MetaSel (Just "baseUrlPort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "baseUrlPath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))) | |
showBaseUrl :: BaseUrl -> String Source #
data InvalidBaseUrlException Source #
Constructors
| InvalidBaseUrlException String |
Instances
| Show InvalidBaseUrlException Source # | |
Defined in Servant.Client.Core.Internal.BaseUrl Methods showsPrec :: Int -> InvalidBaseUrlException -> ShowS # show :: InvalidBaseUrlException -> String # showList :: [InvalidBaseUrlException] -> ShowS # | |
| Exception InvalidBaseUrlException Source # | |
Defined in Servant.Client.Core.Internal.BaseUrl | |
parseBaseUrl :: MonadThrow m => String -> m BaseUrl Source #