uniform-http-0.1.5.1: uniform text based operations to call http
Safe HaskellUnsafe
LanguageHaskell2010

Uniform.HttpURI

Description

using http simple to sparql queries and to create requests part of uniform (to use only text wraps URI in URI

Synopsis

Documentation

newtype PortNumber Source #

Constructors

PortNumber Int 

Instances

Instances details
Generic PortNumber Source # 
Instance details

Defined in Uniform.HttpURI

Associated Types

type Rep PortNumber :: Type -> Type #

Read PortNumber Source # 
Instance details

Defined in Uniform.HttpURI

Show PortNumber Source # 
Instance details

Defined in Uniform.HttpURI

Eq PortNumber Source # 
Instance details

Defined in Uniform.HttpURI

Ord PortNumber Source # 
Instance details

Defined in Uniform.HttpURI

Zeros PortNumber Source # 
Instance details

Defined in Uniform.HttpURI

type Rep PortNumber Source # 
Instance details

Defined in Uniform.HttpURI

type Rep PortNumber = D1 ('MetaData "PortNumber" "Uniform.HttpURI" "uniform-http-0.1.5.1-KGUye61q8hJLOwIA9tUEqm" 'True) (C1 ('MetaCons "PortNumber" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

newtype HttpQueryParams Source #

Constructors

HttpQueryParams [(Text, Maybe Text)] 

Instances

Instances details
Monoid HttpQueryParams Source # 
Instance details

Defined in Uniform.HttpURI

Semigroup HttpQueryParams Source # 
Instance details

Defined in Uniform.HttpURI

Generic HttpQueryParams Source # 
Instance details

Defined in Uniform.HttpURI

Associated Types

type Rep HttpQueryParams :: Type -> Type #

Read HttpQueryParams Source # 
Instance details

Defined in Uniform.HttpURI

Show HttpQueryParams Source # 
Instance details

Defined in Uniform.HttpURI

Eq HttpQueryParams Source # 
Instance details

Defined in Uniform.HttpURI

Zeros HttpQueryParams Source # 
Instance details

Defined in Uniform.HttpURI

type Rep HttpQueryParams Source # 
Instance details

Defined in Uniform.HttpURI

type Rep HttpQueryParams = D1 ('MetaData "HttpQueryParams" "Uniform.HttpURI" "uniform-http-0.1.5.1-KGUye61q8hJLOwIA9tUEqm" 'True) (C1 ('MetaCons "HttpQueryParams" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Text, Maybe Text)])))

newtype HttpPath Source #

a type for the application path when calling Http after the URI till the ? (starts with /)

Constructors

HttpPath Text 

Instances

Instances details
Generic HttpPath Source # 
Instance details

Defined in Uniform.HttpURI

Associated Types

type Rep HttpPath :: Type -> Type #

Methods

from :: HttpPath -> Rep HttpPath x #

to :: Rep HttpPath x -> HttpPath #

Read HttpPath Source # 
Instance details

Defined in Uniform.HttpURI

Show HttpPath Source # 
Instance details

Defined in Uniform.HttpURI

Eq HttpPath Source # 
Instance details

Defined in Uniform.HttpURI

Ord HttpPath Source # 
Instance details

Defined in Uniform.HttpURI

Zeros HttpPath Source # 
Instance details

Defined in Uniform.HttpURI

type Rep HttpPath Source # 
Instance details

Defined in Uniform.HttpURI

type Rep HttpPath = D1 ('MetaData "HttpPath" "Uniform.HttpURI" "uniform-http-0.1.5.1-KGUye61q8hJLOwIA9tUEqm" 'True) (C1 ('MetaCons "HttpPath" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype ServerURI Source #

Constructors

ServerURI 

Fields

Instances

Instances details
Monoid ServerURI Source # 
Instance details

Defined in Uniform.HttpURI

Semigroup ServerURI Source # 
Instance details

Defined in Uniform.HttpURI

Generic ServerURI Source # 
Instance details

Defined in Uniform.HttpURI

Associated Types

type Rep ServerURI :: Type -> Type #

Read ServerURI Source # 
Instance details

Defined in Uniform.HttpURI

Show ServerURI Source # 
Instance details

Defined in Uniform.HttpURI

Eq ServerURI Source # 
Instance details

Defined in Uniform.HttpURI

Ord ServerURI Source # 
Instance details

Defined in Uniform.HttpURI

Zeros ServerURI Source # 
Instance details

Defined in Uniform.HttpURI

type Rep ServerURI Source # 
Instance details

Defined in Uniform.HttpURI

type Rep ServerURI = D1 ('MetaData "ServerURI" "Uniform.HttpURI" "uniform-http-0.1.5.1-KGUye61q8hJLOwIA9tUEqm" 'True) (C1 ('MetaCons "ServerURI" 'PrefixI 'True) (S1 ('MetaSel ('Just "unServerURI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URI)))

newtype URI Source #

Constructors

URI Text 

Instances

Instances details
FromJSON URI Source # 
Instance details

Defined in Uniform.HttpURI

ToJSON URI Source # 
Instance details

Defined in Uniform.HttpURI

Generic URI Source # 
Instance details

Defined in Uniform.HttpURI

Associated Types

type Rep URI :: Type -> Type #

Methods

from :: URI -> Rep URI x #

to :: Rep URI x -> URI #

Read URI Source # 
Instance details

Defined in Uniform.HttpURI

Show URI Source # 
Instance details

Defined in Uniform.HttpURI

Methods

showsPrec :: Int -> URI -> ShowS #

show :: URI -> String #

showList :: [URI] -> ShowS #

Eq URI Source # 
Instance details

Defined in Uniform.HttpURI

Methods

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

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

Ord URI Source # 
Instance details

Defined in Uniform.HttpURI

Methods

compare :: URI -> URI -> Ordering #

(<) :: URI -> URI -> Bool #

(<=) :: URI -> URI -> Bool #

(>) :: URI -> URI -> Bool #

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

max :: URI -> URI -> URI #

min :: URI -> URI -> URI #

Zeros URI Source # 
Instance details

Defined in Uniform.HttpURI

Methods

zero :: URI #

isZero :: URI -> Bool #

notZero :: URI -> Bool #

NiceStrings URI Source # 
Instance details

Defined in Uniform.HttpURI

Methods

shownice :: URI -> Text #

showNice :: URI -> Text #

showlong :: URI -> Text #

type Rep URI Source # 
Instance details

Defined in Uniform.HttpURI

type Rep URI = D1 ('MetaData "URI" "Uniform.HttpURI" "uniform-http-0.1.5.1-KGUye61q8hJLOwIA9tUEqm" 'True) (C1 ('MetaCons "URI" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

uriT :: URI -> Text Source #

gets the URI as a plain text

unHttpQueryParams :: HttpQueryParams -> [(Text, Maybe Text)] Source #

the type for the paramter key - value pairs, comes after the ?