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

Method GetRequestMethod

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

Source from the content-addressed store, hash-verified

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;
195 std::pair<bool, std::string> GetHeader(std::string_view hdr) const;
196 std::string ReadBody() const { return m_body; }

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