A sketch for letting pages listen for payloads sent over H/2 Push. Would love your thoughts!
https://gist.github.com/slightlyoff/18dc42ae00768c23fbc4c5097400adfb …
/cc @igrigorik @mnot
Maybe framing all pushed data as a `Response` _is_ a terrible idea! IDK. WS just feels like damage.
-
-
Ignoring the WS problem. The servers unilateral ability to send stuff the client is bad. But can we do WS equivalent on H2 without push?
-
I'm not seeing the principled reason for your objection to the capability.
- 12 more replies
New conversation -
-
-
One possible option is to do something similar to how grpc supports bidirectional message streams over h2 without push.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.