summaryrefslogtreecommitdiffstats
path: root/platform/javascript/http_client.h.inc
diff options
context:
space:
mode:
authorLeon Krause <lk@leonkrause.com>2018-02-17 17:42:58 +0100
committerLeon Krause <lk@leonkrause.com>2018-02-17 18:12:50 +0100
commitca9fa9cca8a27f14a7b0178d6abf573815722996 (patch)
tree0ffcd4f9f291f8be91fc0a69e97264b3780c26ce /platform/javascript/http_client.h.inc
parent2cd7bc04ea9a99510c26113a81f8371be5b1f49f (diff)
downloadredot-engine-ca9fa9cca8a27f14a7b0178d6abf573815722996.tar.gz
Warn when polling HTTPClient synchronously in HTML5 platform
Diffstat (limited to 'platform/javascript/http_client.h.inc')
-rw-r--r--platform/javascript/http_client.h.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/javascript/http_client.h.inc b/platform/javascript/http_client.h.inc
index 23a74e68f5..d75d33a33a 100644
--- a/platform/javascript/http_client.h.inc
+++ b/platform/javascript/http_client.h.inc
@@ -46,3 +46,8 @@ String password;
int polled_response_code;
String polled_response_header;
PoolByteArray polled_response;
+
+#ifdef DEBUG_ENABLED
+bool has_polled;
+uint64_t last_polling_frame;
+#endif