#include <httprpc.h>
#include <common/args.h>
#include <crypto/hmac_sha256.h>
#include <httpserver.h>
#include <logging.h>
#include <netaddress.h>
#include <rpc/protocol.h>
#include <rpc/server.h>
#include <util/fs.h>
#include <util/fs_helpers.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <walletinitinterface.h>
#include <algorithm>
#include <iterator>
#include <map>
#include <memory>
#include <optional>
#include <set>
#include <string>
#include <vector>
Go to the source code of this file.
◆ HTTPReq_JSONRPC()
static bool HTTPReq_JSONRPC |
( |
const std::any & |
context, |
|
|
HTTPRequest * |
req |
|
) |
| |
|
static |
◆ InitRPCAuthentication()
static bool InitRPCAuthentication |
( |
| ) |
|
|
static |
◆ InterruptHTTPRPC()
void InterruptHTTPRPC |
( |
| ) |
|
Interrupt HTTP RPC subsystem.
Definition at line 380 of file httprpc.cpp.
◆ JSONErrorReply()
◆ multiUserAuthorized()
static bool multiUserAuthorized |
( |
std::string |
strUserPass | ) |
|
|
static |
◆ RPCAuthorized()
static bool RPCAuthorized |
( |
const std::string & |
strAuth, |
|
|
std::string & |
strAuthUsernameOut |
|
) |
| |
|
static |
◆ StartHTTPRPC()
bool StartHTTPRPC |
( |
const std::any & |
context | ) |
|
Start HTTP RPC subsystem.
Precondition; HTTP and RPC has been started.
Definition at line 362 of file httprpc.cpp.
◆ StopHTTPRPC()
Stop HTTP RPC subsystem.
Precondition; HTTP and RPC has been stopped.
Definition at line 385 of file httprpc.cpp.
◆ g_rpc_whitelist
std::map<std::string, std::set<std::string> > g_rpc_whitelist |
|
static |
◆ g_rpc_whitelist_default
bool g_rpc_whitelist_default = false |
|
static |
◆ g_rpcauth
std::vector<std::vector<std::string> > g_rpcauth |
|
static |
◆ httpRPCTimerInterface
◆ strRPCUserColonPass
std::string strRPCUserColonPass |
|
static |
◆ WWW_AUTH_HEADER_DATA
const char* WWW_AUTH_HEADER_DATA = "Basic realm=\"jsonrpc\"" |
|
static |
WWW-Authenticate to present with 401 Unauthorized response.
Definition at line 33 of file httprpc.cpp.