mohws-0.2.1.8: Modular Haskell Web Server
Safe HaskellNone
LanguageHaskell98

Network.MoHWS.HTTP.Request

Synopsis

Documentation

data T body Source #

Constructors

Cons Command URI T Group body 

Instances

Instances details
Functor T Source # 
Instance details

Defined in Network.MoHWS.HTTP.Request

Methods

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

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

Show (T body) Source # 
Instance details

Defined in Network.MoHWS.HTTP.Request

Methods

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

show :: T body -> String #

showList :: [T body] -> ShowS #

HasHeaders (T body) Source # 
Instance details

Defined in Network.MoHWS.HTTP.Request

Methods

getHeaders :: T body -> [Header] #

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

command :: T body -> Command Source #

uri :: T body -> URI Source #

httpVersion :: T body -> T Source #

headers :: T body -> Group Source #

body :: T body -> body Source #

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.

Instances

Instances details
Eq RequestMethod 
Instance details

Defined in Network.HTTP.Base

Show RequestMethod 
Instance details

Defined in Network.HTTP.Base

data Expect Source #

Constructors

ExpectContinue 

Instances

Instances details
Show Expect Source # 
Instance details

Defined in Network.MoHWS.HTTP.Request

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