Eiffel code and ECFs update to support new agent notations.

Removed contrib/library/.../json library.
This commit is contained in:
2016-01-18 16:41:10 +01:00
parent 3bb9101b07
commit 1a4db1d7c6
207 changed files with 226 additions and 7818 deletions

View File

@@ -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

View 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

View 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