|
sstring | _base_path |
|
sstring | _file_directory |
|
routes & | _routes |
|
◆ handle()
◆ 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: