You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When some event happen which let a complete response must be sent to the Long Polling request client we can use `send-response!`(Clojure) or sendResponse (Java/Groovy) to send a complete response. This action is non-blocking and after completion the channel will be closed automatically.
149
+
<h3>
150
+
<aid="user-content-send-a-complete-response-for-long-polling" class="anchor" href="#send-a-complete-response-for-long-polling" aria-hidden="true"><spanclass="octicon octicon-link"></span></a>Send a Complete Response for Long Polling</h3>
154
151
155
-
For Clojure
152
+
<p>When some event happen which let a complete response must be sent to the Long Polling request client we can use <code>send-response!</code>(Clojure) or sendResponse (Java/Groovy) to send a complete response. This action is non-blocking and after completion the channel will be closed automatically.</p>
<spanclass="pl-k">content_handler_name</span><spanclass="pl-s">'nginx.clojure.java.WSEcho'</span>; <spanclass="pl-c">###or ring handler for clojure</span>
When some event happen which let a complete response must be sent to the Long Polling request client we can use `send-response!`(Clojure) or sendResponse (Java/Groovy) to send a complete response. This action is non-blocking and after completion the channel will be closed automatically.
245
+
<h3>
246
+
<aid="user-content-send-a-complete-response-for-long-polling" class="anchor" href="#send-a-complete-response-for-long-polling" aria-hidden="true"><spanclass="octicon octicon-link"></span></a>Send a Complete Response for Long Polling</h3>
250
247
251
-
For Clojure
248
+
<p>When some event happen which let a complete response must be sent to the Long Polling request client we can use <code>send-response!</code>(Clojure) or sendResponse (Java/Groovy) to send a complete response. This action is non-blocking and after completion the channel will be closed automatically.</p>
<spanclass="pl-k">content_handler_name</span><spanclass="pl-s">'nginx.clojure.java.WSEcho'</span>; <spanclass="pl-c">###or ring handler for clojure</span>
0 commit comments