java - SSE Emitter : Manage timeouts and complete() -


i writing web app multiple listeners(evcentsource sse clients js) connected server . want

  1. store sse emitter per connected listener : can done in memory or other means assigning id each client able achieve far
  2. now question ; how send response/event specific client connected web app ? while doing sseemmiters stored either getting completed or timed out. how prevent ? how keep sseemmiter available open infinite time (till client closes) , send events selectively .


Comments

Popular posts from this blog

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -