Explorar el Código

Fixed HTTPClient.xml:115 and 121 variant declaration

Muller-Castro hace 5 años
padre
commit
f9db01ec50
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      doc/classes/HTTPClient.xml

+ 2 - 2
doc/classes/HTTPClient.xml

@@ -112,13 +112,13 @@
 				Generates a GET/POST application/x-www-form-urlencoded style query string from a provided dictionary, e.g.:
 				Generates a GET/POST application/x-www-form-urlencoded style query string from a provided dictionary, e.g.:
 				[codeblock]
 				[codeblock]
 				var fields = {"username": "user", "password": "pass"}
 				var fields = {"username": "user", "password": "pass"}
-				String query_string = http_client.query_string_from_dict(fields)
+				var query_string = http_client.query_string_from_dict(fields)
 				# Returns "username=user&password=pass"
 				# Returns "username=user&password=pass"
 				[/codeblock]
 				[/codeblock]
 				Furthermore, if a key has a [code]null[/code] value, only the key itself is added, without equal sign and value. If the value is an array, for each value in it a pair with the same key is added.
 				Furthermore, if a key has a [code]null[/code] value, only the key itself is added, without equal sign and value. If the value is an array, for each value in it a pair with the same key is added.
 				[codeblock]
 				[codeblock]
 				var fields = {"single": 123, "not_valued": null, "multiple": [22, 33, 44]}
 				var fields = {"single": 123, "not_valued": null, "multiple": [22, 33, 44]}
-				String query_string = http_client.query_string_from_dict(fields)
+				var query_string = http_client.query_string_from_dict(fields)
 				# Returns "single=123&not_valued&multiple=22&multiple=33&multiple=44"
 				# Returns "single=123&not_valued&multiple=22&multiple=33&multiple=44"
 				[/codeblock]
 				[/codeblock]
 			</description>
 			</description>