Bitcoin Core 31.99.0
P2P Digital Currency
Functions
httprpc.h File Reference
#include <any>
Include dependency graph for httprpc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool StartHTTPRPC (const std::any &context)
 Start HTTP RPC subsystem. More...
 
void InterruptHTTPRPC ()
 Interrupt HTTP RPC subsystem. More...
 
void StopHTTPRPC ()
 Stop HTTP RPC subsystem. More...
 
UniValue ExecuteHTTPRPC (const UniValue &valRequest, JSONRPCRequest &jreq, HTTPStatusCode &status)
 Execute a single HTTP request containing one or more JSONRPC requests. More...
 
void StartREST (const std::any &context)
 Start HTTP REST subsystem. More...
 
void InterruptREST ()
 Interrupt RPC REST subsystem. More...
 
void StopREST ()
 Stop HTTP REST subsystem. More...
 

Function Documentation

◆ ExecuteHTTPRPC()

UniValue ExecuteHTTPRPC ( const UniValue valRequest,
JSONRPCRequest jreq,
HTTPStatusCode status 
)

Execute a single HTTP request containing one or more JSONRPC requests.

Specified jreq will be modified and status will be returned.

Definition at line 103 of file httprpc.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InterruptHTTPRPC()

void InterruptHTTPRPC ( )

Interrupt HTTP RPC subsystem.

Definition at line 355 of file httprpc.cpp.

Here is the caller graph for this function:

◆ InterruptREST()

void InterruptREST ( )

Interrupt RPC REST subsystem.

Definition at line 1169 of file rest.cpp.

Here is the caller graph for this function:

◆ StartHTTPRPC()

bool StartHTTPRPC ( const std::any &  context)

Start HTTP RPC subsystem.

Precondition; HTTP and RPC has been started.

Definition at line 339 of file httprpc.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StartREST()

void StartREST ( const std::any &  context)

Start HTTP REST subsystem.

Precondition; HTTP and RPC has been started.

Definition at line 1161 of file rest.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StopHTTPRPC()

void StopHTTPRPC ( )

Stop HTTP RPC subsystem.

Precondition; HTTP and RPC has been stopped.

Definition at line 360 of file httprpc.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StopREST()

void StopREST ( )

Stop HTTP REST subsystem.

Precondition; HTTP and RPC has been stopped.

Definition at line 1173 of file rest.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: