sync with Nino, call to put_readable_string_8
This commit is contained in:
Submodule contrib/library/server/nino updated: faafa894c2...800815c8dd
@@ -60,10 +60,10 @@ feature -- Status writing
|
|||||||
|
|
||||||
feature -- Output
|
feature -- Output
|
||||||
|
|
||||||
put_string (s: STRING_8)
|
put_string (s: READABLE_STRING_8)
|
||||||
-- Send `s' to http client
|
-- Send `s' to http client
|
||||||
do
|
do
|
||||||
target.put_string (s)
|
target.put_readable_string_8 (s)
|
||||||
end
|
end
|
||||||
|
|
||||||
put_character_8 (c: CHARACTER_8)
|
put_character_8 (c: CHARACTER_8)
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ deferred class
|
|||||||
|
|
||||||
feature -- Output
|
feature -- Output
|
||||||
|
|
||||||
put_string (a_string: STRING_8)
|
put_string (a_string: READABLE_STRING_8)
|
||||||
-- Write `a_string' to output stream.
|
-- Write `a_string' to output stream.
|
||||||
require
|
require
|
||||||
is_open_write: is_open_write
|
is_open_write: is_open_write
|
||||||
@@ -21,7 +21,7 @@ feature -- Output
|
|||||||
deferred
|
deferred
|
||||||
end
|
end
|
||||||
|
|
||||||
put_substring (a_string: STRING; s, e: INTEGER)
|
put_substring (a_string: READABLE_STRING_8; s, e: INTEGER)
|
||||||
-- Write substring of `a_string' between indexes
|
-- Write substring of `a_string' between indexes
|
||||||
-- `s' and `e' to output stream.
|
-- `s' and `e' to output stream.
|
||||||
--| Could be redefined for optimization
|
--| Could be redefined for optimization
|
||||||
@@ -46,7 +46,7 @@ feature -- Output
|
|||||||
put_string (c.out)
|
put_string (c.out)
|
||||||
end
|
end
|
||||||
|
|
||||||
put_file_content (fn: STRING)
|
put_file_content (fn: READABLE_STRING_8)
|
||||||
-- Send the content of file `fn'
|
-- Send the content of file `fn'
|
||||||
require
|
require
|
||||||
string_not_empty: not fn.is_empty
|
string_not_empty: not fn.is_empty
|
||||||
@@ -70,7 +70,7 @@ feature -- Output
|
|||||||
|
|
||||||
feature -- Specific output
|
feature -- Specific output
|
||||||
|
|
||||||
put_header_line (s: STRING)
|
put_header_line (s: READABLE_STRING_8)
|
||||||
-- Send `s' to http client as header line
|
-- Send `s' to http client as header line
|
||||||
do
|
do
|
||||||
put_string (s)
|
put_string (s)
|
||||||
|
|||||||
Reference in New Issue
Block a user