|
Page Edited :
AWEB :
Server streams proposals
Server streams proposals has been edited by Julien Vermillard (Aug 10, 2008). Change summary: streaming proposal Sending HTTP response in chunk in place of a big IoBufferActually a asyncweb response content is one big IoBuffer, is quite inefficient and prevent serving big content or long streaming. I'm trying to find a good API since a moment, but it's not very easy (specially with dealing with IoBuffer) so here my proposal, which normally won't break the current API : It's adding extra possibility to HttpContext.commit(..); You can commit a ChunkedHttpResponse and infinite number of HttpContentChunk : context.commit(chunkedResponse); context.commit(chunk1); context.commit(chunk2); context.commit(chunk3);
|
Powered by
Atlassian Confluence
(Version: 2.2.9 Build:#527 Sep 07, 2006)
-
Bug/feature request
Unsubscribe or edit your notifications preferences
Unsubscribe or edit your notifications preferences
