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

Method GetQueryParameter

src/httpserver.cpp:635–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

633}
634
635std::optional<std::string> HTTPRequest::GetQueryParameter(const std::string_view key) const
636{
637 return GetQueryParameterFromUri(m_target, key);
638}
639
640// See libevent http.c evhttp_parse_query_impl()
641// and https://www.rfc-editor.org/rfc/rfc3986#section-3.4

Callers 4

rest_headersFunction · 0.80
rest_block_partFunction · 0.80
rest_filter_headerFunction · 0.80
rest_mempoolFunction · 0.80

Calls 1

GetQueryParameterFromUriFunction · 0.85

Tested by

no test coverage detected