#include <WSServices.h>
Public Member Functions | |
WSServices (const SWSRequest &defaultService) | |
~WSServices ()=default | |
WSServices (const WSServices &other) | |
void | set (const sptk::String &location, const SWSRequest &service) |
WSRequest & | get (const sptk::String &location) const |
Collection of references to available services
|
explicit |
Constructor
Registers default service for empty location
defaultService | Default service |
|
default |
Destructor
sptk::WSServices::WSServices | ( | const WSServices & | other | ) |
Copy constructor
Registers default service for empty location
other | Other services object |
WSRequest & sptk::WSServices::get | ( | const sptk::String & | location | ) | const |
Get service for given location that is processing that location requests
location | Path to the resource, not including resource name |
void sptk::WSServices::set | ( | const sptk::String & | location, |
const SWSRequest & | service | ||
) |
Set a service for given location
location | Path to the resource, not including resource name |
service | Service that is processing that location requests |