|
OGR
|
#include <cpl_http.h>
Public Attributes | |
| int | nStatus |
| char * | pszContentType |
| char * | pszErrBuf |
| int | nDataLen |
| int | nDataAlloc |
| GByte * | pabyData |
| char ** | papszHeaders |
| int | nMimePartCount |
| CPLMimePart * | pasMimePart |
Describe the result of a CPLHTTPFetch() call
| int CPLHTTPResult::nDataAlloc |
Allocated size of the pabyData buffer
| int CPLHTTPResult::nDataLen |
Length of the pabyData buffer
| int CPLHTTPResult::nMimePartCount |
Number of parts in a multipart message
Referenced by CPLHTTPDestroyResult(), and CPLHTTPParseMultipartMime().
| int CPLHTTPResult::nStatus |
cURL error code : 0=success, non-zero if request failed
Referenced by CPLHTTPFetchEx(), and CPLJSONDocument::LoadUrl().
| GByte* CPLHTTPResult::pabyData |
Buffer with downloaded data
Referenced by CPLHTTPDestroyResult(), and GOA2GetRefreshToken().
| char** CPLHTTPResult::papszHeaders |
Headers returned
Referenced by CPLHTTPDestroyResult().
| CPLMimePart* CPLHTTPResult::pasMimePart |
Array of parts (resolved by CPLHTTPParseMultipartMime())
Referenced by CPLHTTPDestroyResult().
| char* CPLHTTPResult::pszContentType |
Content-Type of the response
Referenced by CPLHTTPDestroyResult(), and CPLHTTPParseMultipartMime().
| char* CPLHTTPResult::pszErrBuf |
Error message from curl, or NULL
Referenced by CPLHTTPDestroyResult(), CPLHTTPFetchEx(), and CPLJSONDocument::LoadUrl().
1.8.14.