Bitcoin Core  24.99.0
P2P Digital Currency
httprpc.h
Go to the documentation of this file.
1 // Copyright (c) 2015-2021 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_HTTPRPC_H
6 #define BITCOIN_HTTPRPC_H
7 
8 #include <any>
9 
13 bool StartHTTPRPC(const std::any& context);
16 void InterruptHTTPRPC();
20 void StopHTTPRPC();
21 
25 void StartREST(const std::any& context);
28 void InterruptREST();
32 void StopREST();
33 
34 #endif // BITCOIN_HTTPRPC_H
void InterruptHTTPRPC()
Interrupt HTTP RPC subsystem.
Definition: httprpc.cpp:312
void StopHTTPRPC()
Stop HTTP RPC subsystem.
Definition: httprpc.cpp:317
void StartREST(const std::any &context)
Start HTTP REST subsystem.
Definition: rest.cpp:945
bool StartHTTPRPC(const std::any &context)
Start HTTP RPC subsystem.
Definition: httprpc.cpp:294
void StopREST()
Stop HTTP REST subsystem.
Definition: rest.cpp:957
void InterruptREST()
Interrupt RPC REST subsystem.
Definition: rest.cpp:953
WalletContext context