hascat-lib-0.2: Hascat Package

Hascat.Toolkit

Synopsis

Documentation

type ResponseCode = (Int, Int, Int)

For easy pattern matching, HTTP response codes xyz are represented as (x,y,z).

data ServletRequest Source

Constructors

ServletRequest 

Fields

rqURI :: URI
 
rqMethod :: RequestMethod
 
rqHeaders :: [Header]
 
rqInputs :: [(String, Input)]

Input parameters. For better laziness in reading inputs, this is not a Map.

rqBody :: ByteString
 

Instances

data Input Source

The value of an input parameter, and some metadata.

Constructors

Input 

Instances

module Hascat.App