On Wed, 13 Apr 2016 07:27:28 GMT, iamtakingiteasy wrote:
Hi, i am trying to implement a kind of long-polling xhr requests, but having trouble identifying the case when connection was closed by the client.
HTTPServerRequest.m_conn
seems to be private;HTTPServerResponse.waitForConnectionClose()
cannot simply return the state without waiting, with duration equal to zero, it waits unconditionally.What other options do i have?
For reference: https://github.com/rejectedsoftware/vibe.d/pull/1474