aboutsummaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorPoommetee Ketson2018-04-20 16:25:06 +0700
committerHein-Pieter van Braam2018-04-29 14:32:44 +0200
commit2f82b670716c8b1188db8cb036fe5b7dea0fc490 (patch)
treed2ebf0b9ddda79e70985e013c90654ce4433f5db /doc/classes
parent56b8c4b0ebce21f71a1e4c34ffe5d04a1a28683f (diff)
downloadgodot-2f82b670716c8b1188db8cb036fe5b7dea0fc490.tar.gz
godot-2f82b670716c8b1188db8cb036fe5b7dea0fc490.tar.zst
godot-2f82b670716c8b1188db8cb036fe5b7dea0fc490.zip
[DOCS] add HTTPRequest.request return values
(cherry picked from commit f05e24ed18575e2f48270025c4c2bb0705c667b5)
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/HTTPRequest.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/HTTPRequest.xml b/doc/classes/HTTPRequest.xml
index beb40a9fb..ef29eb4b6 100644
--- a/doc/classes/HTTPRequest.xml
+++ b/doc/classes/HTTPRequest.xml
@@ -55,6 +55,8 @@
<argument index="4" name="request_data" type="String" default="&quot;&quot;">
</argument>
<description>
+ Creates request on the underlying [HTTPClient]. If there is no configuration errors, it tries to connect using [method HTTPClient.connect_to_host] and passes parameters onto [method HTTPClient.request].
+ Returns [code]OK[/code] if request is successfully created. (Does not imply that the server has responded), [code]ERR_UNCONFIGURED[/code] if not in the tree, [code]ERR_BUSY[/code] if still processing previous request, [code]ERR_INVALID_PARAMETER[/code] if given string is not a valid URL format, or [code]ERR_CANT_CONNECT[/code] if not using thread and the [HTTPClient] cannot connect to host.
</description>
</method>
</methods>