|
Public Methods |
| | basic_connection () |
| | Default constructor.
|
| | basic_connection (HINTERNET hsess, char_type const *server, INTERNET_PORT port, char_type const *userName, char_type const *password, is_dword_t service, is_dword_t flags, is_dword_t context=0) |
| | Create a connection with the given arguments.
|
| | ~basic_connection () |
| | Closes the connection, if open.
|
| is_bool_t | connect (HINTERNET hsess, char_type const *server, INTERNET_PORT port, char_type const *userName, char_type const *password, is_dword_t service, is_dword_t flags, is_dword_t context=0) |
| | Opens a connection with the given arguments.
|
| void | close () |
| | Closes the connection, if open.
|
| HINTERNET | detach () |
| | Removes the connection from this object, and returns the underlying WinInet handle to the caller, who must take responsibility for releasing it.
|
| is_bool_t | is_connected () const |
| | Indicates whether the object is managing an open connection.
|
| is_dword_t | last_error () const |
| | The last Win32/WinInet error associated with this connection object.
|
| | operator HINTERNET () |
| | Implicit conversion operator to a WinInet handle.
|