Open XVilka opened 6 years ago
I've been looking into this here. The main thing blocking sending Web Push notifications from OCaml is support for signing JWT tokens with ECSDA. But I think regardless of that, it probably wouldn't make much sense to implement it in a server like Opium anyway -- you send Web Push notifications by making requests to services owned by browser manufacturers, not by communicating with clients directly.
To send the notifications from the server to the page: