Skip to main content

Crate cloudillo_push

Crate cloudillo_push 

Source
Expand description

Push notification module

Handles Web Push notifications for offline users.

§Features

  • Push subscription management (register/unregister endpoints)
  • VAPID authentication (RFC 8292)
  • Web Push encryption (RFC 8188, 8291)
  • Per-user notification type settings

§Settings

Users can control which notification types they receive via settings:

  • notify.push - Master switch for all notifications
  • notify.push.message - Direct messages
  • notify.push.connection - Connection requests
  • notify.push.file_share - File shares
  • notify.push.follow - New followers
  • notify.push.comment - Comments on posts
  • notify.push.reaction - Reactions to posts
  • notify.push.mention - @mentions
  • notify.push.post - Posts from followed users

Re-exports§

pub use send::send_notification;
pub use send::send_to_tenant;
pub use send::NotificationPayload;
pub use send::PushResult;

Modules§

handler
Push notification HTTP handlers
send
Web Push notification sending
settings
Push notification settings registration

Functions§

register_settings