![]() |
Bitcoin Core 31.99.0
P2P Digital Currency
|
Parses the headers of an HTTP response. More...
Public Member Functions | |
| void | Read (util::LineReader &reader) |
| std::optional< std::string > | FindFirst (std::string_view key) const |
Private Attributes | |
| std::vector< std::pair< std::string, std::string > > | m_headers |
Parses the headers of an HTTP response.
May be replaced by the corresponding methods in HTTPHeaders from https://github.com/bitcoin/bitcoin/pull/35182 once that class is in a shared location.
Definition at line 92 of file bitcoin-cli.cpp.
| std::optional< std::string > HTTPResponseHeaders::FindFirst | ( | std::string_view | key | ) | const |
Definition at line 131 of file bitcoin-cli.cpp.
| void HTTPResponseHeaders::Read | ( | util::LineReader & | reader | ) |
Definition at line 102 of file bitcoin-cli.cpp.
|
private |
Definition at line 94 of file bitcoin-cli.cpp.