Skip to content

Commit 760331f

Browse files
committed
Adapt to network use of variant http::request.
1 parent d03105f commit 760331f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/bitcoin/node/protocols/protocol_html.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class BCN_API protocol_html
5252
const network::http::method::get& request) NOEXCEPT override;
5353

5454
/// Senders.
55-
void send_file(const network::http::string_request& request,
55+
void send_file(const network::http::request& request,
5656
network::http::file&& file, network::http::mime_type type) NOEXCEPT;
5757

5858
/// Utilities.

src/protocols/protocol_html.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ void protocol_html::handle_receive_get(const code& ec,
7979
// Senders.
8080
// ----------------------------------------------------------------------------
8181

82-
void protocol_html::send_file(const string_request& request,
83-
file&& file, mime_type type) NOEXCEPT
82+
void protocol_html::send_file(const request& request, file&& file,
83+
mime_type type) NOEXCEPT
8484
{
8585
BC_ASSERT_MSG(stranded(), "strand");
8686
BC_ASSERT_MSG(file.is_open(), "sending closed file handle");

0 commit comments

Comments
 (0)