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

Safe HaskellSafe
LanguageHaskell2010

Servant.Common.BaseUrl

Contents

Synopsis

types

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)

baseUrlPath :: String

path (eg "ab/c")

data Scheme Source

URI scheme to use

Constructors

Http

http://

Https

https://

functions