servant-client-0.7.1: 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

data Scheme Source #

URI scheme to use

Constructors

Http

http://

Https

https://

Instances

Eq Scheme Source # 

Methods

(==) :: Scheme -> Scheme -> Bool #

(/=) :: Scheme -> Scheme -> Bool #

Ord Scheme Source # 
Show Scheme Source # 
Generic Scheme Source # 

Associated Types

type Rep Scheme :: * -> * #

Methods

from :: Scheme -> Rep Scheme x #

to :: Rep Scheme x -> Scheme #

type Rep Scheme Source # 
type Rep Scheme = D1 (MetaData "Scheme" "Servant.Common.BaseUrl" "servant-client-0.7.1-1cDhlX0B5XfHrf8EfHBBIF" False) ((:+:) (C1 (MetaCons "Http" PrefixI False) U1) (C1 (MetaCons "Https" PrefixI False) U1))

functions