|
Wire Sysio Wire Sysion 1.0.0
|
#include <appbase/application.hpp>#include <fc/exception/exception.hpp>#include <fc/reflect/reflect.hpp>#include <fc/io/json.hpp>#include <sysio/chain/exceptions.hpp>

Go to the source code of this file.
Classes | |
| struct | sysio::http_plugin_defaults |
| class | sysio::http_plugin |
| struct | sysio::http_plugin::get_supported_apis_result |
| struct | sysio::error_results |
| Structure used to create JSON error responses. More... | |
| struct | sysio::error_results::error_info |
| struct | sysio::error_results::error_info::error_detail |
Namespaces | |
| namespace | sysio |
Typedefs | |
| using | sysio::url_response_callback = std::function<void(int,fc::variant)> |
| A callback function provided to a URL handler to allow it to specify the HTTP response code and body. | |
| using | sysio::url_handler = std::function<void(string,string,url_response_callback)> |
| Callback type for a URL handler. | |
| using | sysio::api_description = std::map<string, url_handler> |
| An API, containing URLs and handlers. | |
Enumerations | |
| enum class | sysio::http_params_types { sysio::no_params = 0 , sysio::params_required = 1 , sysio::possible_no_params = 2 } |
Functions | |
| std::string_view | sysio::make_trimmed_string_view (const std::string &body) |
| Used to trim whitespace from body. Returned string_view valid only for lifetime of body. | |
| bool | sysio::is_empty_content (const std::string &body) |
| template<typename T , http_params_types params_type> | |
| T | sysio::parse_params (const std::string &body) |