- From: rektide <notifications@github.com>
- Date: Fri, 28 Aug 2015 03:15:58 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Friday, 28 August 2015 10:16:25 UTC
I have an example of this usage pattern (a (node) client observing push_promises) in a server-to-server case- I stream IRC messages from one microservice to another. https://github.com/rektide/tele-pump/blob/master/tele-muc-pump.js#L17 I also have tooling to notify the client of push_promises: I record all push_promises i send, then attach a X-Associated-Content header listing these pushed resources to responses to real requests. The client has to run a monkeypatched XHR, which is responsible for stripping out this header and postMessaging to the window a notice of this new content. https://github.com/rektide/pushchannel Would love a legit observer api, such that the first project could work without this out-of-band signaling invented in the second project. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/65#issuecomment-135727558
Received on Friday, 28 August 2015 10:16:25 UTC