RESTRateLimitBucket¶
Properties¶
type | name |
---|---|
String | key |
int | limit |
int | remaining |
int | reset |
int | reset_after |
bool | auto_reset |
Array | requests |
Methods¶
return type | signature |
---|---|
int | get_remaining ( ) |
void | set_reset_after ( int after ) |
void | use ( ) |
bool | delay ( ) |
int | time_to_wait ( ) |
void | add_to_queue ( RestRequest request ) |
void | remove_from_queue ( RestRequest request ) |
Variant | wait_for_queue ( RestRequest request ) |
Signals¶
Property Descriptions¶
-
String key
There is currently no description for this property.
-
int limit
There is currently no description for this property.
-
int remaining
method Getter get_remaining() There is currently no description for this property.
-
int reset
uses engine ticks in milliseconds
-
int reset_after
method Setter set_reset_after(value) in milliseconds
-
bool auto_reset
There is currently no description for this property.
-
Array requests
There is currently no description for this property.
Method Descriptions¶
-
RESTRateLimitBucket RESTRateLimitBucket ( String key, int limit, int remaining, int reset_after=-1 )
There is currently no description for this method.
-
int get_remaining ( )
There is currently no description for this method.
-
void set_reset_after ( int after )
There is currently no description for this method.
-
There is currently no description for this method.
-
bool delay ( )
There is currently no description for this method.
-
int time_to_wait ( )
There is currently no description for this method.
-
void add_to_queue ( RestRequest request )
There is currently no description for this method.
-
void remove_from_queue ( RestRequest request )
There is currently no description for this method.
-
Variant wait_for_queue ( RestRequest request )
There is currently no description for this method.