|
10Duke Enterprise C++ SDK
|
#include <InternetHandle.h>
Encapsulation of InternetHandle for RAII.
Public Member Functions | |
| InternetHandle (const ::HINTERNET handle) | |
| Constructs a new instance. | |
| void | close () |
| Closes the handle. | |
Public Attributes | |
| ::HINTERNET | handle |
|
inlineexplicit |
Constructs a new instance.
| handle | the handle: Provided from outside, this instance takes ownership of the handle. |
|
inline |
Closes the handle.
NOTE: Destructor calls this method, but only logs exceptions.
| tenduke::http::HTTPRequestException | if closing the handle fails |
| tenduke::TendukeException | if closing the handle fails |