Merge #9240: Remove txConflicted
[bitcoinplatinum.git] / src / httprpc.h
blobd35445718871ee6339ece7caf1c0c3cdc3872f4f
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 class HTTPRequest;
13 /** Start HTTP RPC subsystem.
14 * Precondition; HTTP and RPC has been started.
16 bool StartHTTPRPC();
17 /** Interrupt HTTP RPC subsystem.
19 void InterruptHTTPRPC();
20 /** Stop HTTP RPC subsystem.
21 * Precondition; HTTP and RPC has been stopped.
23 void StopHTTPRPC();
25 /** Start HTTP REST subsystem.
26 * Precondition; HTTP and RPC has been started.
28 bool StartREST();
29 /** Interrupt RPC REST subsystem.
31 void InterruptREST();
32 /** Stop HTTP REST subsystem.
33 * Precondition; HTTP and RPC has been stopped.
35 void StopREST();
37 #endif