http-interchange-0.3.2.2: Types and serialization for HTTP
Safe HaskellSafe-Inferred
LanguageGHC2021

Http.Request

Synopsis

Documentation

data Request Source #

The request line and the request headers.

Constructors

Request 

Instances

Instances details
Show Request Source # 
Instance details

Defined in Http.Request

Eq Request Source # 
Instance details

Defined in Http.Request

Methods

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

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

data RequestLine Source #

An HTTP request line

Constructors

RequestLine 

Fields

Instances

Instances details
Show RequestLine Source # 
Instance details

Defined in Http.Request

Eq RequestLine Source # 
Instance details

Defined in Http.Request

Encode Request

Encode Request with Body

bodiedToChunks :: Bodied Request -> Chunks Source #

This adds the Content-Length header. It must not already be present.