Added "flush" to the EWSGI_RESPONSE_STREAM

This commit is contained in:
Jocelyn Fiat
2011-07-29 10:50:24 +02:00
parent 78b5b6f5fe
commit a278537f7b
4 changed files with 20 additions and 0 deletions

View File

@@ -49,6 +49,11 @@ feature -- Status setting
feature -- Output operation feature -- Output operation
flush
-- Flush if it makes sense
deferred
end
write_string (s: STRING) write_string (s: STRING)
-- Send the string `s' -- Send the string `s'
require require

View File

@@ -81,6 +81,11 @@ feature -- Status setting
feature -- Output operation feature -- Output operation
flush
do
flush_buffer
end
write_string (s: STRING) write_string (s: STRING)
-- Send the string `s' -- Send the string `s'
do do

View File

@@ -55,6 +55,11 @@ feature -- Status setting
feature -- Output operation feature -- Output operation
flush
do
--| Do nothing ... this is in_memory response
end
write_string (s: STRING) write_string (s: STRING)
-- Send the string `s' -- Send the string `s'
do do

View File

@@ -56,6 +56,11 @@ feature -- Status setting
feature -- Output operation feature -- Output operation
flush
do
output.flush
end
write_string (s: STRING) write_string (s: STRING)
-- Send the string `s' -- Send the string `s'
do do