mohws-0.2.1.5: Modular Haskell Web Server

Safe HaskellNone
LanguageHaskell98

Network.MoHWS.HTTP.Request

Synopsis

Documentation

data T body Source #

Constructors

Cons 

Fields

Instances

Functor T Source # 

Methods

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

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

Show (T body) Source # 

Methods

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

show :: T body -> String #

showList :: [T body] -> ShowS #

HasHeaders (T body) Source # 

Methods

getHeaders :: T body -> [Header] #

setHeaders :: T body -> [Header] -> T body #

toHTTPbis :: T body -> Request body Source #

fromHTTPbis :: Request body -> T body Source #

data RequestMethod :: * #

The HTTP request method, to be used in the Request object. We are missing a few of the stranger methods, but these are not really necessary until we add full TLS.

data Expect Source #

Constructors

ExpectContinue 

Instances

pHeaders :: Monoid body => Parser (T body) Source #