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

Method GetURI

src/httpserver.h:191–191  ·  view source on GitHub ↗

These methods reimplement the API from http_libevent::HTTPRequest for downstream JSONRPC and REST modules.

Source from the content-addressed store, hash-verified

189 // These methods reimplement the API from http_libevent::HTTPRequest
190 // for downstream JSONRPC and REST modules.
191 std::string GetURI() const { return m_target; }
192 CService GetPeer() const;
193 HTTPRequestMethod GetRequestMethod() const { return m_method; }
194 std::optional<std::string> GetQueryParameter(std::string_view key) const;

Callers 4

HTTPReq_JSONRPCFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
FUZZ_TARGETFunction · 0.80

Calls

no outgoing calls

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGETFunction · 0.64