|
Electroneum
|
#include "http_base.h"#include "jsonrpc_structs.h"#include "storages/portable_storage.h"#include "storages/portable_storage_template_helper.h"

Go to the source code of this file.
Macros | |
| #define | ELECTRONEUM_DEFAULT_LOG_CATEGORY "net.http" |
| #define | CHAIN_HTTP_TO_MAP2(context_type) |
| #define | BEGIN_URI_MAP2() |
| #define | MAP_URI2(pattern, callback) else if(std::string::npos != query_info.m_URI.find(pattern)) return callback(query_info, response_info, &m_conn_context); |
| #define | MAP_URI_AUTO_XML2(s_pattern, callback_f, command_type) |
| #define | MAP_URI_AUTO_JON2_IF(s_pattern, callback_f, command_type, cond) |
| #define | MAP_URI_AUTO_JON2(s_pattern, callback_f, command_type) MAP_URI_AUTO_JON2_IF(s_pattern, callback_f, command_type, true) |
| #define | MAP_URI_AUTO_BIN2(s_pattern, callback_f, command_type) |
| #define | CHAIN_URI_MAP2(callback) else {callback(query_info, response_info, m_conn_context);handled = true;} |
| #define | END_URI_MAP2() return handled;} |
| #define | BEGIN_JSON_RPC_MAP(uri) |
| #define | PREPARE_OBJECTS_FROM_JSON(command_type) |
| #define | FINALIZE_OBJECTS_TO_JSON(method_name) |
| #define | MAP_JON_RPC_WE_IF(method_name, callback_f, command_type, cond) |
| #define | MAP_JON_RPC_WE(method_name, callback_f, command_type) MAP_JON_RPC_WE_IF(method_name, callback_f, command_type, true) |
| #define | MAP_JON_RPC_WERI(method_name, callback_f, command_type) |
| #define | MAP_JON_RPC(method_name, callback_f, command_type) |
| #define | END_JSON_RPC_MAP() |
| #define BEGIN_JSON_RPC_MAP | ( | uri | ) |
Definition at line 120 of file http_server_handlers_map2.h.
| #define BEGIN_URI_MAP2 | ( | ) |
Definition at line 51 of file http_server_handlers_map2.h.
| #define CHAIN_HTTP_TO_MAP2 | ( | context_type | ) |
Definition at line 38 of file http_server_handlers_map2.h.
| #define CHAIN_URI_MAP2 | ( | callback | ) | else {callback(query_info, response_info, m_conn_context);handled = true;} |
Definition at line 115 of file http_server_handlers_map2.h.
| #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "net.http" |
Definition at line 35 of file http_server_handlers_map2.h.
| #define END_JSON_RPC_MAP | ( | ) |
Definition at line 232 of file http_server_handlers_map2.h.
| #define END_URI_MAP2 | ( | ) | return handled;} |
Definition at line 117 of file http_server_handlers_map2.h.
| #define FINALIZE_OBJECTS_TO_JSON | ( | method_name | ) |
Definition at line 169 of file http_server_handlers_map2.h.
| #define MAP_JON_RPC | ( | method_name, | |
| callback_f, | |||
| command_type | |||
| ) |
Definition at line 213 of file http_server_handlers_map2.h.
| #define MAP_JON_RPC_WE | ( | method_name, | |
| callback_f, | |||
| command_type | |||
| ) | MAP_JON_RPC_WE_IF(method_name, callback_f, command_type, true) |
Definition at line 194 of file http_server_handlers_map2.h.
| #define MAP_JON_RPC_WE_IF | ( | method_name, | |
| callback_f, | |||
| command_type, | |||
| cond | |||
| ) |
Definition at line 177 of file http_server_handlers_map2.h.
| #define MAP_JON_RPC_WERI | ( | method_name, | |
| callback_f, | |||
| command_type | |||
| ) |
Definition at line 196 of file http_server_handlers_map2.h.
| #define MAP_URI2 | ( | pattern, | |
| callback | |||
| ) | else if(std::string::npos != query_info.m_URI.find(pattern)) return callback(query_info, response_info, &m_conn_context); |
Definition at line 57 of file http_server_handlers_map2.h.
| #define MAP_URI_AUTO_BIN2 | ( | s_pattern, | |
| callback_f, | |||
| command_type | |||
| ) |
Definition at line 89 of file http_server_handlers_map2.h.
| #define MAP_URI_AUTO_JON2 | ( | s_pattern, | |
| callback_f, | |||
| command_type | |||
| ) | MAP_URI_AUTO_JON2_IF(s_pattern, callback_f, command_type, true) |
Definition at line 87 of file http_server_handlers_map2.h.
| #define MAP_URI_AUTO_JON2_IF | ( | s_pattern, | |
| callback_f, | |||
| command_type, | |||
| cond | |||
| ) |
Definition at line 61 of file http_server_handlers_map2.h.
| #define MAP_URI_AUTO_XML2 | ( | s_pattern, | |
| callback_f, | |||
| command_type | |||
| ) |
Definition at line 59 of file http_server_handlers_map2.h.
| #define PREPARE_OBJECTS_FROM_JSON | ( | command_type | ) |
Definition at line 149 of file http_server_handlers_map2.h.