[test] Replace check_output with low level version
[bitcoinplatinum.git] / src / httprpc.h
bloba89a8f0fbfe0980bb935d33ceafb78b03270de00
1 // Copyright (c) 2015 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.
5 #ifndef BITCOIN_HTTPRPC_H
6 #define BITCOIN_HTTPRPC_H
8 #include <string>
9 #include <map>
11 /** Start HTTP RPC subsystem.
12 * Precondition; HTTP and RPC has been started.
14 bool StartHTTPRPC();
15 /** Interrupt HTTP RPC subsystem.
17 void InterruptHTTPRPC();
18 /** Stop HTTP RPC subsystem.
19 * Precondition; HTTP and RPC has been stopped.
21 void StopHTTPRPC();
23 /** Start HTTP REST subsystem.
24 * Precondition; HTTP and RPC has been started.
26 bool StartREST();
27 /** Interrupt RPC REST subsystem.
29 void InterruptREST();
30 /** Stop HTTP REST subsystem.
31 * Precondition; HTTP and RPC has been stopped.
33 void StopREST();
35 #endif