summaryrefslogtreecommitdiffstats
path: root/scene/main/http_request.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-10-09 01:15:06 +0200
committerGitHub <noreply@github.com>2021-10-09 01:15:06 +0200
commit6f72d9d19fe11ccc38a69e0460813646ad28d0e5 (patch)
tree7dcebf722eac9bc4d0b88a421ae3dd5abf246124 /scene/main/http_request.cpp
parent16b27304d90880b0a3a6bfefbb19f2718d5919af (diff)
parent5ae569560d16260aabca4e4a34fdb83376f6d669 (diff)
downloadredot-engine-6f72d9d19fe11ccc38a69e0460813646ad28d0e5.tar.gz
Merge pull request #53584 from akien-mga/fix-bindings-arg-names
Diffstat (limited to 'scene/main/http_request.cpp')
-rw-r--r--scene/main/http_request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/http_request.cpp b/scene/main/http_request.cpp
index 14fd14dd18..a4fcc04e20 100644
--- a/scene/main/http_request.cpp
+++ b/scene/main/http_request.cpp
@@ -599,7 +599,7 @@ void HTTPRequest::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_timeout", "timeout"), &HTTPRequest::set_timeout);
ClassDB::bind_method(D_METHOD("get_timeout"), &HTTPRequest::get_timeout);
- ClassDB::bind_method(D_METHOD("set_download_chunk_size"), &HTTPRequest::set_download_chunk_size);
+ ClassDB::bind_method(D_METHOD("set_download_chunk_size", "chunk_size"), &HTTPRequest::set_download_chunk_size);
ClassDB::bind_method(D_METHOD("get_download_chunk_size"), &HTTPRequest::get_download_chunk_size);
ADD_PROPERTY(PropertyInfo(Variant::STRING, "download_file", PROPERTY_HINT_FILE), "set_download_file", "get_download_file");