Classes | |
protocol | <GDSocketDelegate> |
Delegate for handling GDSocket state transitions and received data. More... | |
class | GDDirectByteBuffer |
Buffer for accessing GDSocket and GDHttpRequest data. More... | |
class | GDSocket |
TCP socket, supporting SSL/TLS and communication across the firewall. More... | |
protocol | <GDHttpRequestDelegate> |
Delegate for handling GDHttpRequest state transitions (deprecated). More... | |
class | GDHttpRequest |
Standards-based HTTP request, also supporting HTTPS and communication across the firewall (deprecated). More... | |
Enumerations | |
enum | GDSocketErrorType { GDSocketErrorNone =0, GDSocketErrorNetworkUnvailable, GDSocketErrorServiceTimeOut } |
Constants for GDSocket errors. More... | |
enum | GDHttpRequest_state_t { GDHttpRequest_UNSENT = 0, GDHttpRequest_OPENED = 1, GDHttpRequest_SENT = 2, GDHttpRequest_HEADERS_RECEIVED = 3, GDHttpRequest_LOADING = 4, GDHttpRequest_DONE = 5 } |
Constants for HTTP Request ready states (deprecated). More... | |
enum GDSocketErrorType |
This enumeration represents the type of a GDSocket error that is being notified. The error
parameter of the GDSocketDelegate::onErr: callback always takes one of these values.
This enumeration represents the possible states of an HTTP request.
Compare the value returned by getState to these constants to check the ready state of the GDHttpRequest object. (The XHR state names have been prefixed with GDHttpRequest_
and the standard values used.)