File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
include/bitcoin/node/channels Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class BCN_API channel_ws
4747
4848 // / Serialize and write websocket message to peer (requires strand).
4949 // / Completion handler is always invoked on the channel strand.
50- inline void send (system::data_chunk&& message, bool binary,
50+ inline virtual void send (system::data_chunk&& message, bool binary,
5151 network::result_handler&& handler) NOEXCEPT
5252 {
5353 BC_ASSERT (stranded ());
@@ -81,6 +81,10 @@ class BCN_API channel_ws
8181 }
8282
8383protected:
84+ // / Bring virtual base methods into scope to prevent hiding.
85+ using network::channel_http::send;
86+ using network::channel_http::handle_send;
87+
8488 // / Dispatch websocket buffer via derived handlers (override to handle).
8589 // / Override to handle dispatch, must invoke read_request() on complete.
8690 inline void dispatch_ws (const network::http::flat_buffer&,
You can’t perform that action at this time.
0 commit comments