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
Post a Comment