Result type used to return responses or error statuses to the Webserver subsystem.
More...
#include <Types.hpp>
|
std::variant< Status, boost::json::object > | response |
|
boost::json::array | warnings |
|
Result type used to return responses or error statuses to the Webserver subsystem.
◆ Result() [1/3]
◆ Result() [2/3]
rpc::Result::Result |
( |
Status | status | ) |
|
|
inlineexplicit |
Construct a new Result object from Status.
- Parameters
-
status | The status to construct the result from |
◆ Result() [3/3]
rpc::Result::Result |
( |
boost::json::object | response | ) |
|
|
inlineexplicit |
Construct a new Result object from a response object.
- Parameters
-
response | The response to construct the result from |
The documentation for this struct was generated from the following file: