aboutsummaryrefslogtreecommitdiff
path: root/core/io/http_client.h
diff options
context:
space:
mode:
authorJuan Linietsky2015-03-03 14:41:36 -0300
committerJuan Linietsky2015-03-03 14:41:36 -0300
commit2c2894ceb674927a35d2798b3e63adabdb020077 (patch)
tree9e8950e0acc8fb7531fa60ce8c0321a5b60c335a /core/io/http_client.h
parent4d2198110b4af7f203eeef95697255569e49bce7 (diff)
parenta0ee5cc3531786a652ee43d3a57cb69dff34bd70 (diff)
downloadgodot-2c2894ceb674927a35d2798b3e63adabdb020077.tar.gz
godot-2c2894ceb674927a35d2798b3e63adabdb020077.tar.zst
godot-2c2894ceb674927a35d2798b3e63adabdb020077.zip
Diffstat (limited to 'core/io/http_client.h')
-rw-r--r--core/io/http_client.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/io/http_client.h b/core/io/http_client.h
index 09ad64f48..d0ebaa459 100644
--- a/core/io/http_client.h
+++ b/core/io/http_client.h
@@ -157,7 +157,10 @@ private:
static void _bind_methods();
StringArray _get_response_headers();
Dictionary _get_response_headers_as_dictionary();
- ByteArray tmp_read;
+ int read_chunk_size;
+
+ Error _get_http_data(uint8_t* p_buffer, int p_bytes,int &r_received);
+
public:
@@ -185,6 +188,7 @@ public:
void set_blocking_mode(bool p_enable); //useful mostly if running in a thread
bool is_blocking_mode_enabled() const;
+ void set_read_chunk_size(int p_size);
Error poll();