rgrinberg / opium

Sinatra like web toolkit for OCaml
MIT License
755 stars 67 forks source link

Support Web Push protocol #77

Open XVilka opened 6 years ago

XVilka commented 6 years ago

To send the notifications from the server to the page:

roddyyaga commented 4 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.