#include <InternetHandle.h>
Encapsulation of InternetHandle for RAII.
|
| | InternetHandle (const ::HINTERNET handle) |
| | Constructs a new instance.
|
| void | close () |
| | Closes the handle.
|
◆ InternetHandle()
| tenduke::http::win::InternetHandle::InternetHandle |
( |
const ::HINTERNET | handle | ) |
|
|
inlineexplicit |
Constructs a new instance.
- Parameters
-
| handle | the handle: Provided from outside, this instance takes ownership of the handle. |
◆ close()
| void tenduke::http::win::InternetHandle::close |
( |
| ) |
|
|
inline |
Closes the handle.
NOTE: Destructor calls this method, but only logs exceptions.
- Exceptions
-
| tenduke::http::HTTPRequestException | if closing the handle fails |
| tenduke::TendukeException | if closing the handle fails |
The documentation for this class was generated from the following file: