[nanomsg] Event Source handling in HTTP server

  • From: afshin afzali <a.afzali2003@xxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Mon, 28 Jan 2019 10:17:10 +0330

Hi Folks,
I need to add an Event Source service to a developing network server based
on nng. Right now it uses HTTP supplemental functions to provide static
content, jsonrpc api and file uploads. Although I am newbie in nng API, I
could learn its base methodology. In this case my problem is how to keep
aio alive to send stream updates back to the client. As I learned so far
after I finish, it can't be use anymore for further responses.

Appreciate all comments,
Afshin,

Other related posts: