servant-client-0.2.1: automatical derivation of querying functions for servant webservices

Safe HaskellNone
LanguageHaskell2010

Servant.Common.BaseUrl

Synopsis

Documentation

data Scheme Source

URI scheme to use

Constructors

Http

http://

Https

https://

data BaseUrl Source

Simple data type to represent the target of HTTP requests for servant's automatically-generated clients.

Constructors

BaseUrl 

Fields

baseUrlScheme :: Scheme

URI scheme to use

baseUrlHost :: String

host (eg "haskell.org")

baseUrlPort :: Int

port (eg 80)