## Class resource_loader

zeep::http::resource_loader — abstract base class for a resource loader

## Synopsis

    // In header: <zeep/http/template-processor.hpp>

    class resource_loader {
    public:
      // construct/copy/destruct
      (resource_loader &) = ;
      ();
      resource_loader & (resource_loader &) = ;
      ~();

      // public member functions

      (, ) = ;
       (, ) = ;
    };

## Description

A resource loader is used to fetch the resources a webapp can serve This is an abstract base class, use either file_loader to load files from a 'docroot' directory or rsrc_loader to load files from compiled in resources. (See https://github.com/mhekkel/mrc for more info on resources)

### `resource_loader` public construct/copy/destruct

1.     (resource_loader &) = ;

2.     ();

3.     resource_loader & (resource_loader &) = ;

4.     ~();

### `resource_loader` public member functions

1.     ( file,  ec) = ;

   return last_write_time of file

2.     ( file,  ec) = ;

   basic loader, returns error in ec if file was not found