Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

httprpc.h File Reference
#include <string>
#include <map>
+ 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 ()
 Start HTTP RPC subsystem. More...
 
void InterruptHTTPRPC ()
 Interrupt HTTP RPC subsystem. More...
 
void StopHTTPRPC ()
 Stop HTTP RPC subsystem. More...
 
bool StartREST ()
 Start HTTP REST subsystem. More...
 
void InterruptREST ()
 Interrupt RPC REST subsystem. More...
 
void StopREST ()
 Stop HTTP REST subsystem. More...
 

Function Documentation

◆ InterruptHTTPRPC()

void InterruptHTTPRPC ( )

Interrupt HTTP RPC subsystem.

Definition at line 248 of file httprpc.cpp.

References LogPrint, and BCLog::RPC.

Referenced by Interrupt().

◆ InterruptREST()

void InterruptREST ( )

Interrupt RPC REST subsystem.

Definition at line 594 of file rest.cpp.

Referenced by Interrupt().

◆ StartHTTPRPC()

bool StartHTTPRPC ( )

Start HTTP RPC subsystem.

Precondition; HTTP and RPC has been started.

Definition at line 231 of file httprpc.cpp.

References EventBase(), HTTPReq_JSONRPC(), httpRPCTimerInterface, InitRPCAuthentication(), LogPrint, RegisterHTTPHandler(), BCLog::RPC, and RPCSetTimerInterface().

Referenced by AppInitServers().

◆ StartREST()

bool StartREST ( )

Start HTTP REST subsystem.

Precondition; HTTP and RPC has been started.

Definition at line 587 of file rest.cpp.

References ARRAYLEN, handler, prefix, RegisterHTTPHandler(), and uri_prefixes.

Referenced by AppInitServers().

◆ StopHTTPRPC()

void StopHTTPRPC ( )

Stop HTTP RPC subsystem.

Precondition; HTTP and RPC has been stopped.

Definition at line 253 of file httprpc.cpp.

References httpRPCTimerInterface, LogPrint, BCLog::RPC, RPCUnsetTimerInterface(), and UnregisterHTTPHandler().

Referenced by PrepareShutdown().

◆ StopREST()

void StopREST ( )

Stop HTTP REST subsystem.

Precondition; HTTP and RPC has been stopped.

Definition at line 598 of file rest.cpp.

References ARRAYLEN, prefix, UnregisterHTTPHandler(), and uri_prefixes.

Referenced by PrepareShutdown().

Released under the MIT license