Safe Haskell | None |
---|---|
Language | Haskell2010 |
Client actions
notify :: Notification -> ClientM Notification Source #
Post a notification.
Re-exported for convenience.
data Notification Source #
A pinpon
doorbell notification.
pinpon
doorbell notifications are sent by pinpon
API clients to
the server. The server translates these notifications to the
format(s) required by the doorbell's subscribers.
Note that some notification formats don't support sound (e.g., email and SMS). This field will be ignored on platforms that do not support it.
defaultNotification :: Notification Source #
A default value for Notification
.