#include "dinamo.h"
Data Fields | |
| DWORD | dwVersion |
| DWORD | dwMethod |
| const char * | szURL |
| const char ** | pszHeaderList |
| DWORD | dwHeaderCount |
| BYTE * | pbBody |
| DWORD | dwBodyLen |
| DWORD | dwTimeOut |
| DWORD | dwParam |
Data from an HTTP request from PIX.
szURL, pszHeaderList, and pbBody point to must remain valid until DPIXRequest() returns. In C++, be careful with expressions such as str().c_str() stored in the field: the temporary object is destroyed at the end of the statement, even before the call takes place.This structure is used by the DPIXRequest() function.
| DWORD dwVersion |
Structure version. Must be PIX_REQUEST_VERSION.
| DWORD dwMethod |
HTTP method: PIX_HTTP_POST, PIX_HTTP_PUT, PIX_HTTP_GET, or PIX_HTTP_DELETE.
| const char* szURL |
Destination URL.
| const char** pszHeaderList |
Additional headers, one per element. NULL if none.
| DWORD dwHeaderCount |
Number of elements in pszHeaderList.
| BYTE* pbBody |
Request body. NULL if none. In PIX_HTTP_GET and PIX_HTTP_DELETE, a body is uncommon, but if one is provided, the library sends it.
| DWORD dwBodyLen |
Size of pbBody, in bytes.
| DWORD dwTimeOut |
Operation timeout duration in milliseconds. Set to zero to disable the timeout.
| DWORD dwParam |
Request options: PIX_VERIFY_HOST_NAME, PIX_BASIC_HTTP_HEADER, PIX_GZIP.