hreq-core-0.1.0.0: Core functionality for Hreq Http client library

Safe HaskellNone
LanguageHaskell2010

Hreq.Core.Client.Request

Contents

Description

This module provides a RequestF data type which contains components required for creation of an HTTP Request.

RequestF data is built from type level API endpoints and the BaseUrl with in the HasRequest class instance.

Synopsis

Request

data RequestF body Source #

Instances
Functor RequestF Source # 
Instance details

Defined in Hreq.Core.Client.Request

Methods

fmap :: (a -> b) -> RequestF a -> RequestF b #

(<$) :: a -> RequestF b -> RequestF a #

Eq body => Eq (RequestF body) Source # 
Instance details

Defined in Hreq.Core.Client.Request

Methods

(==) :: RequestF body -> RequestF body -> Bool #

(/=) :: RequestF body -> RequestF body -> Bool #

Show body => Show (RequestF body) Source # 
Instance details

Defined in Hreq.Core.Client.Request

Methods

showsPrec :: Int -> RequestF body -> ShowS #

show :: RequestF body -> String #

showList :: [RequestF body] -> ShowS #

data RequestBody Source #

The Request body replica of the http-client RequestBody.

Default Request

Request helper functions