summaryrefslogtreecommitdiffstats
path: root/doc/classes/HTTPClient.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-11-25 14:29:59 +0100
committerGitHub <noreply@github.com>2019-11-25 14:29:59 +0100
commit967cc2c014c7f6be67d249a87df871a08d56afff (patch)
tree35b71da6e88ec26130d3ef91730a8db5d3e48a30 /doc/classes/HTTPClient.xml
parent5378a8f5b0d58b1622e737a39823ef5639e58405 (diff)
parented19b4076e0ec9252202086e65ffcc42510b6cdd (diff)
downloadredot-engine-967cc2c014c7f6be67d249a87df871a08d56afff.tar.gz
Merge pull request #33862 from Faless/net/http_request_chunk_size
Add download_chunk_size property to HTTPRequest.
Diffstat (limited to 'doc/classes/HTTPClient.xml')
-rw-r--r--doc/classes/HTTPClient.xml12
1 files changed, 3 insertions, 9 deletions
diff --git a/doc/classes/HTTPClient.xml b/doc/classes/HTTPClient.xml
index 52e4b94051..3347eeafa7 100644
--- a/doc/classes/HTTPClient.xml
+++ b/doc/classes/HTTPClient.xml
@@ -170,15 +170,6 @@
Sends the body data raw, as a byte array and does not encode it in any way.
</description>
</method>
- <method name="set_read_chunk_size">
- <return type="void">
- </return>
- <argument index="0" name="bytes" type="int">
- </argument>
- <description>
- Sets the size of the buffer used and maximum bytes to read per iteration. See [method read_response_body_chunk].
- </description>
- </method>
</methods>
<members>
<member name="blocking_mode_enabled" type="bool" setter="set_blocking_mode" getter="is_blocking_mode_enabled" default="false">
@@ -187,6 +178,9 @@
<member name="connection" type="StreamPeer" setter="set_connection" getter="get_connection">
The connection to use for this client.
</member>
+ <member name="read_chunk_size" type="int" setter="set_read_chunk_size" getter="get_read_chunk_size" default="4096">
+ The size of the buffer used and maximum bytes to read per iteration. See [method read_response_body_chunk].
+ </member>
</members>
<constants>
<constant name="METHOD_GET" value="0" enum="Method">