MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / StopHTTPRPC

Function StopHTTPRPC

src/httprpc.cpp:359–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359void StopHTTPRPC()
360{
361 LogDebug(BCLog::RPC, "Stopping HTTP RPC server\n");
362 UnregisterHTTPHandler("/", true);
363 if (g_wallet_init_interface.HasWalletSupport()) {
364 UnregisterHTTPHandler("/wallet/", false);
365 }
366}

Callers 1

ShutdownFunction · 0.85

Calls 2

UnregisterHTTPHandlerFunction · 0.85
HasWalletSupportMethod · 0.45

Tested by

no test coverage detected