Bitcoin Core 28.99.0
P2P Digital Currency
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages Concepts
httprpc.h
Go to the documentation of this file.
1// Copyright (c) 2015-2021 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 <any>
9
13bool StartHTTPRPC(const std::any& context);
16void InterruptHTTPRPC();
20void StopHTTPRPC();
21
25void StartREST(const std::any& context);
28void InterruptREST();
32void StopREST();
33
34#endif // BITCOIN_HTTPRPC_H
void InterruptHTTPRPC()
Interrupt HTTP RPC subsystem.
Definition: httprpc.cpp:380
void StopHTTPRPC()
Stop HTTP RPC subsystem.
Definition: httprpc.cpp:385
void StartREST(const std::any &context)
Start HTTP REST subsystem.
Definition: rest.cpp:1026
bool StartHTTPRPC(const std::any &context)
Start HTTP RPC subsystem.
Definition: httprpc.cpp:362
void StopREST()
Stop HTTP REST subsystem.
Definition: rest.cpp:1038
void InterruptREST()
Interrupt RPC REST subsystem.
Definition: rest.cpp:1034