c# - How to flush HttpListener response stream? -


HttpListener gives you feedback stream, but calling flush does not mean anything (and it is clear that from source , Because it is not really doing anything). Digging inside the HTTP API reveals that this is only a limit of HttpListener.

Anyone knows how to fix the response flow of HTTPPL (replica or extra P / Invoke)?

Updates: If you do not have the ability to define flush options or buffer size, then you can not stream anything.

Only works in most of the System.Net namespace, when transfer-encoding is set to selected Otherwise the whole request is returned and the flush does not really do anything at least while I work with HTTP Web Response.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -