Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
MonadIO m => ContentEncoder m UrlEncode Source # | |
data UriDataEncode Source #
MonadIO m => ContentEncoder m UriDataEncode Source # | |
newtype RequestHeadersE Source #
RequestHeadersE [(Text, Text)] |
unRequestHeaders :: RequestHeadersE -> [(CI ByteString, ByteString)] Source #
fromQueryE :: QueryE -> ByteString Source #
fromQueryE' :: QueryE -> ByteString Source #
class MonadIO m => ContentEncoder m a where Source #
buildBody :: a -> m (RequestBody, RequestHeadersE) Source #
renderPart :: ByteString -> a -> m RequestBody Source #
MonadIO m => ContentEncoder m UrlEncode Source # | |
MonadIO m => ContentEncoder m EmptyBody Source # | |
MonadIO m => ContentEncoder m UriDataEncode Source # | |
MonadIO m => ContentEncoder m RawL Source # | |
(MonadIO m, ToJSON a) => ContentEncoder m (JSON a) Source # | |
MonadIO m => ContentEncoder m (Multipart m) Source # | |
MonadIO m => ContentEncoder m (CE m) Source # | |
cp :: ByteString -> RequestBody Source #