STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

basic_session Class Template Reference
[File-System Library (InetSTL)]

Represents an internet session. More...

#include <inetstl_session.h>

List of all members.

Public Methods

 basic_session ()
 Default constructor.

 basic_session (char_type const *pcszAgent, is_dword_t accessType=INTERNET_OPEN_TYPE_PRECONFIG, char_type const *pcszProxyName=NULL, char_type const *pcszProxyBypass=NULL, is_dword_t flags=0)
 Create a session with the given arguments.

 ~basic_session ()
 Closes the session, if open.

is_bool_t open (char_type const *pcszAgent, is_dword_t accessType=INTERNET_OPEN_TYPE_PRECONFIG, char_type const *pcszProxyName=NULL, char_type const *pcszProxyBypass=NULL, is_dword_t flags=0)
 Open a session with the given arguments.

void close ()
 Closes the session, if open.

HINTERNET detach ()
 Removes the session from this object, and returns the underlying WinInet handle to the caller, who must take responsibility for releasing it.

is_bool_t is_open () const
 Indicates whether the object is managing an open session.

 operator HINTERNET ()
 Implicit conversion operator to a WinInet handle.


Detailed Description

template<typename C, typename X = throw_internet_exception_policy, typename T = filesystem_traits<C>>
class inetstl::basic_session< C, X, T >

Represents an internet session.

Note:
A session is required for WinInet, as it represents an initialisation of the WinInet libraries


The documentation for this class was generated from the following file:

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004