]> Git Repo - VerusCoin.git/blame - src/httprpc.h
Add method for fetching the next activation height after a given block height
[VerusCoin.git] / src / httprpc.h
CommitLineData
afd64f76
WL
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
11class HTTPRequest;
12
13/** Start HTTP RPC subsystem.
14 * Precondition; HTTP and RPC has been started.
15 */
16bool StartHTTPRPC();
17/** Interrupt HTTP RPC subsystem.
18 */
19void InterruptHTTPRPC();
20/** Stop HTTP RPC subsystem.
21 * Precondition; HTTP and RPC has been stopped.
22 */
23void StopHTTPRPC();
24
25/** Start HTTP REST subsystem.
26 * Precondition; HTTP and RPC has been started.
27 */
28bool StartREST();
29/** Interrupt RPC REST subsystem.
30 */
31void InterruptREST();
32/** Stop HTTP REST subsystem.
33 * Precondition; HTTP and RPC has been stopped.
34 */
35void StopREST();
36
37#endif
This page took 0.03171 seconds and 4 git commands to generate.