mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
195d42a284
4087d9ea7
Remove unnecessary forward class declarations in header files (practicalswift)
Tree-SHA512: 80a9b2cd339ba9c606c0dd93739ac80941b6050388fee2edd7976ae8b5e332fd0b4f1df1e89c1d6d28a77c23a36b1e874e72977985fb8f710c65c45c3a926f97
36 lines
813 B
C++
36 lines
813 B
C++
// Copyright (c) 2015 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_HTTPRPC_H
|
|
#define BITCOIN_HTTPRPC_H
|
|
|
|
#include <string>
|
|
#include <map>
|
|
|
|
/** Start HTTP RPC subsystem.
|
|
* Precondition; HTTP and RPC has been started.
|
|
*/
|
|
bool StartHTTPRPC();
|
|
/** Interrupt HTTP RPC subsystem.
|
|
*/
|
|
void InterruptHTTPRPC();
|
|
/** Stop HTTP RPC subsystem.
|
|
* Precondition; HTTP and RPC has been stopped.
|
|
*/
|
|
void StopHTTPRPC();
|
|
|
|
/** Start HTTP REST subsystem.
|
|
* Precondition; HTTP and RPC has been started.
|
|
*/
|
|
bool StartREST();
|
|
/** Interrupt RPC REST subsystem.
|
|
*/
|
|
void InterruptREST();
|
|
/** Stop HTTP REST subsystem.
|
|
* Precondition; HTTP and RPC has been stopped.
|
|
*/
|
|
void StopREST();
|
|
|
|
#endif
|