Implemented wrapper over web_push client, that handles VAPID signing and proper payload creation for us.
Configured it to use hyper backend, which is the same what we use for other push services (reqwest uses it under the hood).
Details
Details
Cargo build.
Tested together with the rest of the stack
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
services/tunnelbroker/src/notifs/web_push/mod.rs | ||
---|---|---|
14 | We don't use the config anywhere outside new(), but I decided to keep it, for consistency with other push services. | |
15–16 | Both are intended to be created once and cloned when used.
|