Open DarkTrick opened 1 year ago
I would also find it very helpful if the docs stated that "the push subscription contains the push endpoint, which is the target URL for the application server to send messages to."
I think, making these points clearer in the docs might help.
Currently the docs sound like the push service is something the app developer has to put in place - while it is actually (non-optionally) provided by the browser vendow.
I also found this confusing when I first went though the document. I'll try to clarify.
The sequence diagram below shows that the web page subscribes to the user agent (no problem so far) and the user agent
subscribe()
s to the push service. However, it ... 1) ... is unclear (from the docs) how to specify the push service's location (URL/IP/...).edit: I'd find it very helpful, if the docs clearly stated, that this service is given by the browser vendor and is not changable. 2) ... seems currently not possible to specify the location of a push service. To me it looks like the user agent actually
subscribe()
s to the application server (as this is the only known target) and the application server "forwards"(?) the information to the push service.It would be nice if the documentation could be more informative on this point.