Davix Documentation

0.0.27

Author:
Devresse Adrien ( adrien.devresse@cern.ch )
From CERN IT-GT-DMS ( lcgutil-support@cern.ch ) mailing list : davix-devel@cern.ch

DAVIX

Davix is a lightweight toolkit for remote file / object interactions with HTTP based protocols.

Davix offers a multi-layer API for the end user :

Davix supports Http, Webdav ( and S3 ) Davix integrate a Webdav / XML parser.

DAVIX API :

C++ API : davix.hpp

Davix is yet an other libcurl ?

No,

Examples :

POSIX API

 {.cpp}

            Davix::DavPosix p;
            p.stat("https://mywebdav-server.org/mydir/", &stat, &tmp_err);
            //
            // read ops
            fd= p.open(NULL, "https://mywebdav-server.org/myfile.jpg", O_RDONLY, &tmp_err);
            p.read(fd, buffer, size, &tmp_err);
            p.pread(fd, buffer, size2, offset, &tmp_err);
            //
            // directory creation
            p.mkdir(NULL, "https://mywebdav-server.org/mnewdir");

LOW LEVEL REQUEST API

 {.cpp}

            Davix::HttpRequest req("https://restapi-server.org/rest")
            req.addHeaderField(...)
            req.setRequestMethod("PUT")
            //
            // execute your request
            req.executeRequest(...);

What does Davix support ?

Davix supports :

Davix is going to support soon :

How to compile :

Play with davix command line tool :

davix has a set of command line tools for testing purpose and demonstration

-> davix-ls: file listing -> davix-get: download operations -> davix: low level query composition

I wish to see XYZ feature in Davix :

Any suggestion is welcome.

please contact us on davix-devel@cern.ch ( CERN e-group & mailing list ) or personnaly on adrien.devresse@cern.ch

Davix is an open source and free project and will stay like this. Any contribution is welcome

Davix Website :

https://svnweb.cern.ch/trac/lcgutil/wiki


Generated on 8 Mar 2013 for davix by  doxygen 1.4.7