Main handle for Davix.
More...
#include <davixcontext.hpp>
|
|
| Context () |
| | Default constructor.
|
| | Context (const Context &c) |
| | copy constructor
|
| Context & | operator= (const Context &c) |
| | assignment operator
|
|
virtual | ~Context () |
| | destructor
|
|
Context * | clone () |
| | clone this instance to a new context
|
| void | loadModule (const std::string &name) |
| | load a plugin or a profile identified by name
|
|
void | setSessionCaching (bool caching) |
| | enable or disable the session caching
|
|
bool | getSessionCaching () const |
| | get session caching status
|
|
void | clearCache () |
| | clear both redirect and session cache
|
| HttpRequest * | createRequest (const Uri &uri, DavixError **err) |
| HttpRequest * | createRequest (const std::string &url, DavixError **err) |
| DavPosix * | createDavPosix () |
|
|
class | DavPosix |
|
struct | ContextExplorer |
Main handle for Davix.
Each new davix context contains its own session-reuse pool and set of parameters a Context can execute multiple queries in parallels and is thread safe
◆ Context()
| Davix::Context::Context |
( |
const Context & | c | ) |
|
copy constructor
- Parameters
-
References Context().
◆ createDavPosix()
| DavPosix * Davix::Context::createDavPosix |
( |
| ) |
|
◆ createRequest() [1/2]
◆ createRequest() [2/2]
◆ loadModule()
| void Davix::Context::loadModule |
( |
const std::string & | name | ) |
|
load a plugin or a profile identified by name
- Parameters
-
| name | : name of the plugin or profile to load |
Example: loadModule("grid") configure davix for a grid environment usage
◆ operator=()
assignment operator
- Parameters
-
- Returns
References Context().
The documentation for this class was generated from the following file: