#include <dwc.h>
DWCGHTTPState DWC_GetGHTTPState( int req );
Gets the communication status when a GHTTP library function is used.
Specify the return values for the DWC_PostGHTTPData
, DWC_GetGHTTPData
, and DWC_GetGHTTPDataEx
functions in req
.
req |
Request identifier. |
DWC_GHTTP_FALSE |
Communication failed. |
DWC_GHTTP_HOST_LOOKUP |
Converting the host name to an IP address. |
DWC_GHTTP_CONNECTING |
Waiting for socket connection to complete. |
DWC_GHTTP_SECURING_SESSION |
Establishing a safe channel. |
DWC_GHTTP_SENDING_REQUEST |
Sending a request. |
DWC_GHTTP_POSTING |
Sending data (skip if not sent) |
DWC_GHTTP_WAITING |
Wait for response. |
DWC_GHTTP_RECEIVING_STATUS |
Receiving response status. |
DWC_GHTTP_RECEIVING_HEADERS |
Receiving headers. |
DWC_GHTTP_RECEIVING_FILE |
Receiving file. |
DWC_PostGHTTPData, DWC_GetGHTTPData, DWC_GetGHTTPDataEx
10/27/2005 Initial version.
CONFIDENTIAL