Do not use put_readable_string_8_noexception, and just update put_string_8_noexception to accept READABLE_STRING_8.
This commit is contained in:
@@ -206,7 +206,7 @@ feature -- Output
|
||||
put_managed_pointer_noexception (socket_buffer, 0, character_8_bytes)
|
||||
end
|
||||
|
||||
put_readable_string_8_noexception (s: READABLE_STRING_8)
|
||||
put_string_8_noexception (s: READABLE_STRING_8)
|
||||
-- Write readable string `s' to socket.
|
||||
-- No exception raised!
|
||||
local
|
||||
|
||||
@@ -75,7 +75,7 @@ feature -- Output
|
||||
-- Send `s' to http client
|
||||
do
|
||||
last_target_call_succeed := False
|
||||
target.put_readable_string_8_noexception (s)
|
||||
target.put_string_8_noexception (s)
|
||||
last_target_call_succeed := not target.was_error
|
||||
end
|
||||
|
||||
@@ -83,7 +83,7 @@ feature -- Output
|
||||
-- Send `s' to http client
|
||||
do
|
||||
last_target_call_succeed := False
|
||||
target.put_readable_string_8_noexception (s)
|
||||
target.put_string_8_noexception (s)
|
||||
last_target_call_succeed := not target.was_error
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user