|
sstring | _base_path |
|
sstring | _file_directory |
|
routes & | _routes |
|
◆ handle()
All handlers should implement this method. It fill the reply according to the request.
- Parameters
-
path | the url path used in this call |
req | the original request |
rep | the reply |
Implements seastar::httpd::handler_base.
◆ mandatory()
handler_base & seastar::httpd::handler_base::mandatory |
( |
const sstring & |
param | ) |
|
|
inlineinherited |
Add a mandatory parameter
- Parameters
-
- Returns
- a reference to the handler
◆ verify_mandatory_params()
void seastar::httpd::handler_base::verify_mandatory_params |
( |
const http::request & |
req | ) |
const |
|
inlineinherited |
Check if all mandatory parameters exist in the request. if any param does not exist, the function would throw a missing_param_exception
- Parameters
-
params | req the http request |
The documentation for this class was generated from the following file: