summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-03-27 17:49:39 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-03-27 18:15:56 +0200
commit4a95408dd48c04cf29f14eceff4fc9bd36f41f7d (patch)
tree37bf168b3283e2177f50252fc79cf25114984520 /doc
parenta5eed70fa2edcf755d6abea2077232e38381449b (diff)
[Net] Change HTTPRequest timeout type to double.
For consistency with the Timer class and general time representation inside the engine.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/HTTPRequest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/HTTPRequest.xml b/doc/classes/HTTPRequest.xml
index 42047a68c8..641d73e333 100644
--- a/doc/classes/HTTPRequest.xml
+++ b/doc/classes/HTTPRequest.xml
@@ -247,7 +247,7 @@
<member name="max_redirects" type="int" setter="set_max_redirects" getter="get_max_redirects" default="8">
Maximum number of allowed redirects.
</member>
- <member name="timeout" type="int" setter="set_timeout" getter="get_timeout" default="0">
+ <member name="timeout" type="float" setter="set_timeout" getter="get_timeout" default="0.0">
</member>
<member name="use_threads" type="bool" setter="set_use_threads" getter="is_using_threads" default="false">
If [code]true[/code], multithreading is used to improve performance.