Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class ToMultipartFormData a where
- toMultipartFormData :: a -> [Part]
- data MultipartFormDataReqBody a
Documentation
class ToMultipartFormData a where Source
A type that can be converted to a multipart/form-data value.
toMultipartFormData :: a -> [Part] Source
Convert a Haskell value to a multipart/form-data-friendly intermediate type.
data MultipartFormDataReqBody a Source
Extract the request body as a value of type a
.
(ToMultipartFormData b, MimeUnrender * ct a) => HasClient ((:>) * * (MultipartFormDataReqBody b) (Post ((:) * ct cts) a)) Source | |
type Client ((:>) * * (MultipartFormDataReqBody b) (Post ((:) * ct cts) a)) = b -> EitherT ServantError IO a Source |