GHTTPState
The current state of an HTTP request.
- typedef enum
- {
- GHTTPSocketInit,
- GHTTPHostLookup,
- GHTTPLookupPending,
- GHTTPConnecting,
- GHTTPSendingRequest,
- GHTTPPosting,
- GHTTPWaiting,
- GHTTPReceivingStatus,
- GHTTPReceivingHeaders,
- GHTTPReceivingFile
- } GHTTPState;
Constants
- GHTTPSocketInit
- Startup socket.
- GHTTPHostLookup
- Begin resolving hostname to IP.
- GHTTPLookupPending
- Waiting for hostname to resolve (non-blocking).
- GHTTPConnecting
- Waiting for socket connect to complete.
- GHTTPSendingRequest
- Sending the request.
- GHTTPPosting
- Posting data (skipped if not posting).
- GHTTPWaiting
- Waiting for a response.
- GHTTPReceivingStatus
- Receiving the response status.
- GHTTPReceivingHeaders
- Receiving the headers.
- GHTTPReceivingFile
- Receiving the file.
Section Reference: Gamespy HTTP SDK