Adapted from Xerces-C as a more advanced input stream implementation for subsequent use in parsing remote documents.
More...
#include <xmltooling/util/CurlURLInputStream.h>
|
| CurlURLInputStream (const char *url, std::string *cacheTag=0) |
| Constructor. More...
|
|
| CurlURLInputStream (const XMLCh *url, std::string *cacheTag=0) |
| Constructor. More...
|
|
| CurlURLInputStream (const xercesc::DOMElement *e, std::string *cacheTag=0) |
| Constructor taking a DOM element supporting the following content: More...
|
|
unsigned int | curPos () const |
|
xsecsize_t | readBytes (XMLByte *const toFill, const xsecsize_t maxToRead) |
|
int | getOpenSSLOps () const |
| Access the OpenSSL context options in place for this object. More...
|
|
Adapted from Xerces-C as a more advanced input stream implementation for subsequent use in parsing remote documents.
xmltooling::CurlURLInputStream::CurlURLInputStream |
( |
const char * |
url, |
|
|
std::string * |
cacheTag = 0 |
|
) |
| |
Constructor.
- Parameters
-
url | the URL of the resource to fetch |
cacheTag | optional pointer to string used for cache management |
xmltooling::CurlURLInputStream::CurlURLInputStream |
( |
const XMLCh * |
url, |
|
|
std::string * |
cacheTag = 0 |
|
) |
| |
Constructor.
- Parameters
-
url | the URL of the resource to fetch |
cacheTag | optional pointer to string used for cache management |
xmltooling::CurlURLInputStream::CurlURLInputStream |
( |
const xercesc::DOMElement * |
e, |
|
|
std::string * |
cacheTag = 0 |
|
) |
| |
Constructor taking a DOM element supporting the following content:
- uri | url
- identifies the remote resource
- verifyHost
- true iff name of host should be matched against TLS/SSL certificate
- TransportOption elements, like so:
- <TransportOption provider="CURL" option="150">0</TransportOption>
- Parameters
-
e | DOM to supply configuration |
cacheTag | optional pointer to string used for cache management |
int xmltooling::CurlURLInputStream::getOpenSSLOps |
( |
| ) |
const |
|
inline |
Access the OpenSSL context options in place for this object.
- Returns
- bitmask suitable for use with SSL_CTX_set_options
The documentation for this class was generated from the following file: