| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Text.Digestive.Form.Encoding
Description
Provides a datatype to differentiate between regular urlencoding and multipart encoding for the content of forms and functions to determine the content types of forms.
Synopsis
- data FormEncType
- formTreeEncType :: FormTree Identity v m a -> FormEncType
Documentation
data FormEncType Source #
Content type encoding of the form, either url encoded (percent-encoding) or multipart encoding. For details, see: http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4
Constructors
| UrlEncoded | |
| MultiPart |
Instances
| Eq FormEncType Source # | |
Defined in Text.Digestive.Form.Encoding | |
| Show FormEncType Source # | |
Defined in Text.Digestive.Form.Encoding Methods showsPrec :: Int -> FormEncType -> ShowS # show :: FormEncType -> String # showList :: [FormEncType] -> ShowS # | |
| Semigroup FormEncType Source # | |
Defined in Text.Digestive.Form.Encoding Methods (<>) :: FormEncType -> FormEncType -> FormEncType # sconcat :: NonEmpty FormEncType -> FormEncType # stimes :: Integral b => b -> FormEncType -> FormEncType # | |
| Monoid FormEncType Source # | |
Defined in Text.Digestive.Form.Encoding Methods mempty :: FormEncType # mappend :: FormEncType -> FormEncType -> FormEncType # mconcat :: [FormEncType] -> FormEncType # | |
formTreeEncType :: FormTree Identity v m a -> FormEncType Source #
Determines the encoding type of a FormTree