newsletter-0: A basic newsletter implimentation, using various backends.

Safe HaskellNone
LanguageHaskell2010

Network.Mail.Newsletter.Web.Handlers

Documentation

serverNewsletterSubConfirmGet :: (HasClientSessionKey r, HasApiRoot m, HasNlTemplates r m, MonadReader r m, MonadError ServantErr m, Newsletter m, HasNewsletterTimeouts r, MonadIO m) => Text -> m (Headers '[Header "Referrer-Policy" RefPolicy] Html) Source #

serverNewsletterSubConfirmPost :: (HasClientSessionKey r, HasApiRoot m, HasNlTemplates r m, IsElem NewsletterUnsubGet (ApiRoot m), MonadReader r m, MonadError ServantErr m, Newsletter m, HasNewsletterTimeouts r, MonadIO m) => Text -> m (Headers '[Header "Referrer-Policy" RefPolicy] Html) Source #

serverNewsletterUnsubGet :: (HasClientSessionKey r, HasApiRoot m, HasNlTemplates r m, MonadReader r m, MonadError ServantErr m, Newsletter m, MonadIO m) => Text -> m (Headers '[Header "Referrer-Policy" RefPolicy] Html) Source #

serverNewsletterUnsubPost :: (HasClientSessionKey r, HasApiRoot m, HasNlTemplates r m, MonadReader r m, MonadError ServantErr m, Newsletter m, MonadIO m) => Text -> m (Headers '[Header "Referrer-Policy" RefPolicy] Html) Source #