Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Authentication = Authentication {}
- data EmailMessage = EmailMessage {}
- makeRequest :: (MonadIO m, MonadBaseControl IO m, MonadThrow m, Show a) => a -> String -> [(String, String)] -> m ByteString
- getRequest :: (MonadThrow m, MonadIO m, MonadBaseControl IO m) => String -> [(String, String)] -> m ByteString
- postRequest :: (MonadThrow m, MonadIO m, MonadBaseControl IO m) => String -> [(String, String)] -> m ByteString
- sendEmail :: (Tupled a1, Tupled a) => a -> a1 -> IO (Maybe MailSuccess)
Documentation
data EmailMessage Source
Messages
makeRequest :: (MonadIO m, MonadBaseControl IO m, MonadThrow m, Show a) => a -> String -> [(String, String)] -> m ByteString Source
HTTP request helpers
getRequest :: (MonadThrow m, MonadIO m, MonadBaseControl IO m) => String -> [(String, String)] -> m ByteString Source
postRequest :: (MonadThrow m, MonadIO m, MonadBaseControl IO m) => String -> [(String, String)] -> m ByteString Source
Request helpers