twisted.web - how do i stop reqest.finish() (twisted .web server)from closing the http connection -


i have written chat server writes message line on browser of 1 client other client. problem if use request.finish() output shown connection closed .if dont use request.finish () browser or program buffers output , displaying output after 20 or request have been send.however connection remains open.

i think best approach reconnecting client after receiving message , closing connection.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

php - Dynamic url re-writing using htaccess -

java - Multi-Label Document Classification -