Eiffel code and ECFs update to support new agent notations.
Removed contrib/library/.../json library.
This commit is contained in:
@@ -73,7 +73,7 @@ feature -- Access
|
||||
-- Upload data read from `upload_filename'
|
||||
--| Note: make sure to precise the Content-Type header
|
||||
|
||||
write_agent: detachable PROCEDURE [ANY, TUPLE [READABLE_STRING_8]]
|
||||
write_agent: detachable PROCEDURE [READABLE_STRING_8]
|
||||
-- Use this agent to hook the write of the response.
|
||||
--| could be used to save the response directly in a file
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ create
|
||||
|
||||
feature -- Access
|
||||
|
||||
write_procedure: detachable PROCEDURE [ANY, TUPLE [READABLE_STRING_8]]
|
||||
write_procedure: detachable PROCEDURE [READABLE_STRING_8]
|
||||
-- File for sending data
|
||||
|
||||
file_to_read: detachable FILE
|
||||
|
||||
@@ -398,7 +398,7 @@ feature {NONE} -- Implementation
|
||||
end
|
||||
end
|
||||
|
||||
new_write_data_to_file_agent (f: FILE; h: detachable STRING): PROCEDURE [ANY, TUPLE [READABLE_STRING_8]]
|
||||
new_write_data_to_file_agent (f: FILE; h: detachable STRING): PROCEDURE [READABLE_STRING_8]
|
||||
-- Write all downloaded header and content data into `f'
|
||||
-- and write raw header into `h' if attached.
|
||||
do
|
||||
@@ -414,7 +414,7 @@ feature {NONE} -- Implementation
|
||||
end (?, h, f, create {CELL [BOOLEAN]}.put (False))
|
||||
end
|
||||
|
||||
new_write_content_data_to_file_agent (f: FILE; h: STRING): PROCEDURE [ANY, TUPLE [READABLE_STRING_8]]
|
||||
new_write_content_data_to_file_agent (f: FILE; h: STRING): PROCEDURE [READABLE_STRING_8]
|
||||
-- Write all downloaded content data into `f' (without raw header)
|
||||
-- and write raw header into `h' if attached.
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user