Safe Haskell | Safe |
---|---|
Language | Haskell98 |
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
Instances
Eq FormEncType Source # | |
Defined in Text.Digestive.Form.Encoding (==) :: FormEncType -> FormEncType -> Bool # (/=) :: FormEncType -> FormEncType -> Bool # | |
Show FormEncType Source # | |
Defined in Text.Digestive.Form.Encoding showsPrec :: Int -> FormEncType -> ShowS # show :: FormEncType -> String # showList :: [FormEncType] -> ShowS # | |
Semigroup FormEncType Source # | |
Defined in Text.Digestive.Form.Encoding (<>) :: FormEncType -> FormEncType -> FormEncType # sconcat :: NonEmpty FormEncType -> FormEncType # stimes :: Integral b => b -> FormEncType -> FormEncType # | |
Monoid FormEncType Source # | |
Defined in Text.Digestive.Form.Encoding mempty :: FormEncType # mappend :: FormEncType -> FormEncType -> FormEncType # mconcat :: [FormEncType] -> FormEncType # |
formTreeEncType :: FormTree Identity v m a -> FormEncType Source #
Determines the encoding type of a FormTree