Bitcoin Core  0.20.99
P2P Digital Currency
httprpc.h
Go to the documentation of this file.
1 // Copyright (c) 2015-2019 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 namespace util {
9 class Ref;
10 } // namespace util
11 
15 bool StartHTTPRPC(const util::Ref& context);
18 void InterruptHTTPRPC();
22 void StopHTTPRPC();
23 
27 void StartREST(const util::Ref& context);
30 void InterruptREST();
34 void StopREST();
35 
36 #endif
Definition: httprpc.h:8
void StopHTTPRPC()
Stop HTTP RPC subsystem.
Definition: httprpc.cpp:310
void StopREST()
Stop HTTP REST subsystem.
Definition: rest.cpp:674
bool StartHTTPRPC(const util::Ref &context)
Start HTTP RPC subsystem.
Definition: httprpc.cpp:287
Type-safe dynamic reference.
Definition: ref.h:21
void StartREST(const util::Ref &context)
Start HTTP REST subsystem.
Definition: rest.cpp:662
void InterruptREST()
Interrupt RPC REST subsystem.
Definition: rest.cpp:670
void InterruptHTTPRPC()
Interrupt HTTP RPC subsystem.
Definition: httprpc.cpp:305