ReviewBoard-0.2: Haskell bindings to ReviewBoardSource codeContentsIndex

ReviewBoard.Browser extends Network.Browser module with support for multipart/form-data content type.

The package contains typed Form and form variables FormVar. The content encryption type is automatically chosen based on the type of the FormVar. Currently multipart/form-data encryption is used only if Form contains a fileUpload variable. Otherwise the request falls back to the default Network.Browser encryption type.

data Form = Form RequestMethod URI [FormVar]
data FormVar
formToRequest :: Form -> BrowserAction Request
textField :: String -> String -> FormVar
checkBox :: String -> Bool -> FormVar
fileUpload :: String -> FilePath -> String -> FormVar
data Form Source
Typed form
Form RequestMethod URI [FormVar]
data FormVar Source
Typed form variable
show/hide Instances
formToRequest :: Form -> BrowserAction RequestSource
Form to request for typed form variables, same as formToRequest in Network.Browser module.
textField :: String -> String -> FormVarSource
Create text field variable
checkBox :: String -> Bool -> FormVarSource
Create checkbox variable
fileUpload :: String -> FilePath -> String -> FormVarSource
Create file upload variable
Produced by Haddock version 2.3.0