api-builder-0.11.0.0: Library for easily building REST API wrappers in Haskell

Safe HaskellNone
LanguageHaskell2010

Network.API.Builder.Send.Multipart

Synopsis

Documentation

sendMultipart :: MonadIO m => Builder -> Route -> Multipart -> m (Maybe Request) Source

Send a Multipart request. This can't use the normal send mechanism since it has to do IO to construct its request.

data Multipart Source

A type for multipart forms, which uses Parts from MultipartFormData. Construct it and send it with sendMultipart (not send).

Constructors

Multipart [Part] 

Instances