diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-07 00:11:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-07 00:11:17 +0100 |
commit | 07a739e7e15fdc0d7ed878f0cb465bb93c4e50aa (patch) | |
tree | d811b713f916bcd4d96c39fed00762311737d989 /doc/classes/HTTPClient.xml | |
parent | 643b37aaf01138af8e5780caa938a107f2341412 (diff) | |
parent | 4eff13d7685752246ca311a2fdcc9d6e6eb7f63e (diff) |
Merge pull request #34159 from akien-mga/doc-enums-constants
doc: Markup fixes for enums and constants
Diffstat (limited to 'doc/classes/HTTPClient.xml')
-rw-r--r-- | doc/classes/HTTPClient.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/HTTPClient.xml b/doc/classes/HTTPClient.xml index 3347eeafa7..57d2c6ff96 100644 --- a/doc/classes/HTTPClient.xml +++ b/doc/classes/HTTPClient.xml @@ -79,7 +79,7 @@ <return type="int" enum="HTTPClient.Status"> </return> <description> - Returns a [code]STATUS_*[/code] enum constant. Need to call [method poll] in order to get status updates. + Returns a [enum Status] constant. Need to call [method poll] in order to get status updates. </description> </method> <method name="has_response" qualifiers="const"> @@ -143,7 +143,7 @@ </argument> <description> Sends a request to the connected host. The URL parameter is just the part after the host, so for [code]http://somehost.com/index.php[/code], it is [code]index.php[/code]. - Headers are HTTP request headers. For available HTTP methods, see [code]METHOD_*[/code]. + Headers are HTTP request headers. For available HTTP methods, see [enum Method]. To create a POST request with query strings to push to the server, do: [codeblock] var fields = {"username" : "user", "password" : "pass"} @@ -166,7 +166,7 @@ </argument> <description> Sends a raw request to the connected host. The URL parameter is just the part after the host, so for [code]http://somehost.com/index.php[/code], it is [code]index.php[/code]. - Headers are HTTP request headers. For available HTTP methods, see [code]METHOD_*[/code]. + Headers are HTTP request headers. For available HTTP methods, see [enum Method]. Sends the body data raw, as a byte array and does not encode it in any way. </description> </method> |