diff options
author | Leon Krause <lk@leonkrause.com> | 2018-02-17 17:42:58 +0100 |
---|---|---|
committer | Leon Krause <lk@leonkrause.com> | 2018-02-17 18:12:50 +0100 |
commit | ca9fa9cca8a27f14a7b0178d6abf573815722996 (patch) | |
tree | 0ffcd4f9f291f8be91fc0a69e97264b3780c26ce /platform/javascript/http_client.h.inc | |
parent | 2cd7bc04ea9a99510c26113a81f8371be5b1f49f (diff) | |
download | redot-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.inc | 5 |
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 |