polysemy-http-0.5.0.0: Polysemy Effects for HTTP clients
Safe HaskellNone
LanguageHaskell2010

Polysemy.Http.Data.Header

Description

 
Synopsis

Documentation

newtype HeaderName Source #

The name of a header.

Constructors

HeaderName 

Fields

Instances

Instances details
Eq HeaderName Source # 
Instance details

Defined in Polysemy.Http.Data.Header

Show HeaderName Source # 
Instance details

Defined in Polysemy.Http.Data.Header

IsString HeaderName Source # 
Instance details

Defined in Polysemy.Http.Data.Header

Generic HeaderName Source # 
Instance details

Defined in Polysemy.Http.Data.Header

Associated Types

type Rep HeaderName :: Type -> Type #

ToJSON HeaderName Source # 
Instance details

Defined in Polysemy.Http.Data.Header

FromJSON HeaderName Source # 
Instance details

Defined in Polysemy.Http.Data.Header

type Rep HeaderName Source # 
Instance details

Defined in Polysemy.Http.Data.Header

type Rep HeaderName = D1 ('MetaData "HeaderName" "Polysemy.Http.Data.Header" "polysemy-http-0.5.0.0-inplace" 'True) (C1 ('MetaCons "HeaderName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unHeaderName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype HeaderValue Source #

The value of a header.

Constructors

HeaderValue 

Fields

Instances

Instances details
Eq HeaderValue Source # 
Instance details

Defined in Polysemy.Http.Data.Header

Show HeaderValue Source # 
Instance details

Defined in Polysemy.Http.Data.Header

IsString HeaderValue Source # 
Instance details

Defined in Polysemy.Http.Data.Header

Generic HeaderValue Source # 
Instance details

Defined in Polysemy.Http.Data.Header

Associated Types

type Rep HeaderValue :: Type -> Type #

ToJSON HeaderValue Source # 
Instance details

Defined in Polysemy.Http.Data.Header

FromJSON HeaderValue Source # 
Instance details

Defined in Polysemy.Http.Data.Header

type Rep HeaderValue Source # 
Instance details

Defined in Polysemy.Http.Data.Header

type Rep HeaderValue = D1 ('MetaData "HeaderValue" "Polysemy.Http.Data.Header" "polysemy-http-0.5.0.0-inplace" 'True) (C1 ('MetaCons "HeaderValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "unHeaderValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data Header Source #

An HTTP header.

Constructors

Header 

Instances

Instances details
Eq Header Source # 
Instance details

Defined in Polysemy.Http.Data.Header

Methods

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

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

Show Header Source # 
Instance details

Defined in Polysemy.Http.Data.Header

Generic Header Source # 
Instance details

Defined in Polysemy.Http.Data.Header

Associated Types

type Rep Header :: Type -> Type #

Methods

from :: Header -> Rep Header x #

to :: Rep Header x -> Header #

ToJSON Header Source # 
Instance details

Defined in Polysemy.Http.Data.Header

FromJSON Header Source # 
Instance details

Defined in Polysemy.Http.Data.Header

type Rep Header Source # 
Instance details

Defined in Polysemy.Http.Data.Header

type Rep Header = D1 ('MetaData "Header" "Polysemy.Http.Data.Header" "polysemy-http-0.5.0.0-inplace" 'False) (C1 ('MetaCons "Header" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HeaderName) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HeaderValue)))