[Net] Change HTTPRequest timeout type to double.

For consistency with the Timer class and general time representation
inside the engine.
This commit is contained in:
Fabio Alessandrelli
2022-03-27 17:49:39 +02:00
parent a5eed70fa2
commit 4a95408dd4
3 changed files with 7 additions and 7 deletions

View File

@ -96,7 +96,7 @@ private:
int max_redirects = 8;
int timeout = 0;
double timeout = 0;
void _redirect_request(const String &p_new_url);
@ -146,8 +146,8 @@ public:
Timer *timer;
void set_timeout(int p_timeout);
int get_timeout();
void set_timeout(double p_timeout);
double get_timeout();
void _timeout();