]> Git Repo - VerusCoin.git/blob - src/httprpc.h
Fix exception
[VerusCoin.git] / src / httprpc.h
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.
4
5 #ifndef BITCOIN_HTTPRPC_H
6 #define BITCOIN_HTTPRPC_H
7
8 #include <string>
9 #include <map>
10
11 class HTTPRequest;
12
13 /** Start HTTP RPC subsystem.
14  * Precondition; HTTP and RPC has been started.
15  */
16 bool StartHTTPRPC();
17 /** Interrupt HTTP RPC subsystem.
18  */
19 void InterruptHTTPRPC();
20 /** Stop HTTP RPC subsystem.
21  * Precondition; HTTP and RPC has been stopped.
22  */
23 void StopHTTPRPC();
24
25 /** Start HTTP REST subsystem.
26  * Precondition; HTTP and RPC has been started.
27  */
28 bool StartREST();
29 /** Interrupt RPC REST subsystem.
30  */
31 void InterruptREST();
32 /** Stop HTTP REST subsystem.
33  * Precondition; HTTP and RPC has been stopped.
34  */
35 void StopREST();
36
37 #endif
This page took 0.02527 seconds and 4 git commands to generate.