diff --git a/include/bitcoin/network/protocols/protocol_ws.hpp b/include/bitcoin/network/protocols/protocol_ws.hpp index 0f203b9d5..61c6ba5bd 100644 --- a/include/bitcoin/network/protocols/protocol_ws.hpp +++ b/include/bitcoin/network/protocols/protocol_ws.hpp @@ -22,13 +22,13 @@ #include #include #include -#include +#include namespace libbitcoin { namespace network { class BCT_API protocol_ws - : public protocol + : public protocol_http { public: typedef std::shared_ptr ptr; @@ -36,9 +36,9 @@ class BCT_API protocol_ws using options_t = channel_t::options_t; protected: - protocol_ws(const session::ptr& session, - const channel::ptr& channel, const options_t&) NOEXCEPT - : protocol(session, channel) + inline protocol_ws(const session::ptr& session, + const channel::ptr& channel, const options_t& options) NOEXCEPT + : protocol_http(session, channel, options) { } };