Performs Http requests independently. Note that you must call Update to keep all the requests active.
Static Public Member Functions | |
| static void | SetRate (int fps) |
| Sets the rate at which http requests are advanced. More... | |
| static void | Clear () |
| Clears all active requests. More... | |
| static string | UrlEncode (string text) |
| Encodes the given piece of text so it's suitable to go into a post or get string. More... | |
| static string | UrlDecode (string text) |
| Decodes the given piece of text from a post or get string. More... | |
| static void | Update (float deltaTime) |
| Metered. Advances all the currently active http requests. More... | |
| static void | Flush () |
| Advances all the currently active http requests. More... | |
| static void | UpdateWaitingList () |
| static void | Queue (HttpRequest request) |
Static Public Attributes | |
| static float | UpdateTimer |
| The time since the last update in seconds. More... | |
| static HttpRequest | LastRequest |
| Active http requests are stored in a linked list. This is the tail of the list. More... | |
| static HttpRequest | FirstRequest |
| Active http requests are stored in a linked list. This is the head of the list. More... | |
| static int | CurrentActiveRequests |
| The amount of requests that are currently active. More... | |
| static HttpRequest | LastWaitingRequest |
| Waiting http requests are stored in a linked list - added here when MaxSimultaneousRequests is exceeded. This is the tail of the list. More... | |
| static HttpRequest | FirstWaitingRequest |
| Waiting http requests are stored in a linked list - added here when MaxSimultaneousRequests is exceeded. This is the head of the list. More... | |
| static int | MaxSimultaneousRequests =-1 |
| The maximum amount of simultaneous requests that will be allowed. Exceeding this will result in the additional requests entering the waiting list. -1 (default) is no limit. More... | |
Static Private Attributes | |
| static float | TimerLimit =0.05f |
| The max time in seconds between updates. More... | |
|
inlinestatic |
Clears all active requests.
|
inlinestatic |
Advances all the currently active http requests.
|
inlinestatic |
|
inlinestatic |
Sets the rate at which http requests are advanced.
| fps | The rate in frames per second. |
|
inlinestatic |
Metered. Advances all the currently active http requests.
|
inlinestatic |
|
inlinestatic |
Decodes the given piece of text from a post or get string.
| text | The text to decode. |
|
inlinestatic |
Encodes the given piece of text so it's suitable to go into a post or get string.
| text | The text to encode. |
|
static |
The amount of requests that are currently active.
|
static |
Active http requests are stored in a linked list. This is the head of the list.
|
static |
Waiting http requests are stored in a linked list - added here when MaxSimultaneousRequests is exceeded. This is the head of the list.
|
static |
Active http requests are stored in a linked list. This is the tail of the list.
|
static |
Waiting http requests are stored in a linked list - added here when MaxSimultaneousRequests is exceeded. This is the tail of the list.
|
static |
The maximum amount of simultaneous requests that will be allowed. Exceeding this will result in the additional requests entering the waiting list. -1 (default) is no limit.
|
staticprivate |
The max time in seconds between updates.
|
static |
The time since the last update in seconds.