mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
[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:
parent
a5eed70fa2
commit
4a95408dd4
3 changed files with 7 additions and 7 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue