Network.Http.Parser.Rfc2616
- ctl_pred :: Word8 -> Bool
- cr_pred :: Word8 -> Bool
- lf_pred :: Word8 -> Bool
- sp_pred :: Word8 -> Bool
- ht_pred :: Word8 -> Bool
- dquote_pred :: Word8 -> Bool
- separators_pred :: Word8 -> Bool
- token_pred :: Word8 -> Bool
- char_pred :: Word8 -> Bool
- octet :: Parser Word8
- char :: Parser Word8
- ctl :: Parser Word8
- cr :: Parser Word8
- lf :: Parser Word8
- sp :: Parser Word8
- ht :: Parser Word8
- dquote :: Parser Word8
- crlf :: Parser Word8
- lws :: Parser Word8
- lwss :: Parser Word8
- text :: Parser Word8
- token :: Parser [Word8]
- separatorSet :: [Word8]
- separators :: Parser Word8
- ctext :: Parser Word8
- qdtext :: Parser Word8
- quotedPair :: Parser Word8
- quotedString :: Parser [Word8]
- comment :: Parser [Word8]
- httpVersion :: Parser HttpVersion
- method :: Parser Method
- requestLine :: Parser (Method, RequestUri, HttpVersion)
- header :: Parser (ByteString, ByteString)
- data Header
- data Request = Request {
- rqMethod :: Method
- rqUri :: RequestUri
- rqVersion :: (Int, Int)
- rqHeaders :: [(ByteString, ByteString)]
- rqBody :: ByteString
- type HttpVersion = (Int, Int)
- data Method
- = GET
- | HEAD
- | POST
- | PUT
- | DELETE
- | TRACE
- | OPTIONS
- | CONNECT
- | EXTENSIONMETHOD ByteString
- data RequestUri
- = Asterisk
- | AbsoluteUri URI
- | AbsolutePath ByteString
- | Authority (Maybe URIAuth)
Documentation
dquote_pred :: Word8 -> BoolSource
separators_pred :: Word8 -> BoolSource
token_pred :: Word8 -> BoolSource
separatorSet :: [Word8]Source
Constructors
| GeneralHeader | |
| RequestHeader | |
| EntityHeader |
Constructors
| Request | |
Fields
| |
type HttpVersion = (Int, Int)Source
Constructors
| GET | |
| HEAD | |
| POST | |
| PUT | |
| DELETE | |
| TRACE | |
| OPTIONS | |
| CONNECT | |
| EXTENSIONMETHOD ByteString |
data RequestUri Source
Constructors
| Asterisk | |
| AbsoluteUri URI | |
| AbsolutePath ByteString | |
| Authority (Maybe URIAuth) |
Instances