#include <dwc.h>
DWCGHTTPState DWC_GetGHTTPState( int req );
Gets the HTTP communication state using the GHTTP library.
In the req argument, specify the request identifier return values for the DWC_GetGHTTPData, DWC_GetGHTTPDataEx, DWC_GetGHTTPDataEx2, and functions.
DWC_PostGHTTPData
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_GetGHTTPData
DWC_GetGHTTPDataEx
DWC_GetGHTTPDataEx2
DWC_PostGHTTPData
2006/12/27 Made revisions to reflect the addition of the DWC_GetGHTTPDataEx2 function.
2005/10/27 Initial version.
CONFIDENTIAL