Dispatch sends a web push notification to all subscriptions for a user. Any notifications that fail to send are silently dropped.
(ctx context.Context, userID uuid.UUID, notification codersdk.WebpushMessage)
| 51 | // Dispatch sends a web push notification to all subscriptions |
| 52 | // for a user. Any notifications that fail to send are silently dropped. |
| 53 | Dispatch(ctx context.Context, userID uuid.UUID, notification codersdk.WebpushMessage) error |
| 54 | // Test sends a test web push notificatoin to a subscription to ensure it is valid. |
| 55 | Test(ctx context.Context, req codersdk.WebpushSubscription) error |
| 56 | // PublicKey returns the VAPID public key for the webpush dispatcher. |
no outgoing calls