This is the online documentation for Colossus Entertainments
Pixie Game Engine
HTTP Class Reference
List of all members.
Detailed Description
Functionality to request HTTP resources.
- Author:
- Mattias Gustavsson
The HTTP system provides high-level functionality for executing HTTP GET and HTTP POST requests, and to receive the response from the server.
All network requests are done asynchronously, so when you issue a request, you're given a handle, and using this handle,
Definition at line 28 of file HTTP.h.
Member Enumeration Documentation
- Enumerator:
-
| Status_Connecting |
|
| Status_Pending |
|
| Status_Completed |
|
| Status_Failed |
|
| Status_TimedOut |
|
| Status_Invalid |
|
Definition at line 41 of file HTTP.h.
Member Function Documentation
| HTTP::SYSTEM_IMPLEMENTATION |
( |
HTTP |
|
) |
|
| void HTTP::Start |
( |
|
) |
[virtual] |
| void HTTP::Stop |
( |
|
) |
[virtual] |
| void HTTP::Update |
( |
float |
deltaTime |
) |
|
| int HTTP::Request_Get |
( |
const char * |
url, |
|
|
float |
timeOut = 0.0f | |
|
) |
| | |
| int HTTP::Request_Post |
( |
const char * |
url, |
|
|
const void * |
data, |
|
|
int |
size, |
|
|
float |
timeOut = 0.0f | |
|
) |
| | |
| float HTTP::GetPercentageReceived |
( |
int |
requestHandle |
) |
|
| void HTTP::DiscardRequest |
( |
int |
requestHandle |
) |
|
|