Class file_loader
zeep::http::file_loader — actual implementation of a zeep::resource_loader that loads files from disk
Synopsis
class file_loader : public {
public:
( = ".");
(, ) ;
(, ) ;
};
Description
Load the resources from the directory specified in the docroot constructor parameter.
file_loader
public
construct/copy/destruct
-
( docroot = ".");
constructor
Throws a runtime_error if the docroot does not exist
Parameters: |
docroot
|
Path to the directory where the 'resources' are located |
|
file_loader
public member functions
-
( file, ec) ;
return last_write_time of file
-
( file, ec) ;
basic loader, returns error in ec if file was not found