mohws-0.2.0.1: Modular Haskell Web ServerSource codeContentsIndex
Network.MoHWS.HTTP.Request
Documentation
data T body Source
Constructors
Cons
command :: Command
uri :: URI
httpVersion :: T
headers :: Group
body :: body
show/hide Instances
Functor T
Show (T body)
HasHeaders (T body)
toHTTPbis :: T body -> Request bodySource
fromHTTPbis :: Request body -> T bodySource
type Command = RequestMethodSource
RequestMethod (HEAD, PUT, GET, POST, DELETE, OPTIONS, TRACE, CONNECT, Custom)
data Connection Source
Constructors
ConnectionClose
ConnectionKeepAlive
ConnectionOther String
show/hide Instances
data Expect Source
Constructors
ExpectContinue
show/hide Instances
pHeaders :: Monoid body => Parser (T body)Source
getHost :: HasHeaders a => a -> Maybe (HostName, Maybe Int)Source
getConnection :: HasHeaders a => a -> [Connection]Source
Produced by Haddock version 2.4.2