Skip to content

Commit 33c08bf

Browse files
authored
Merge pull request #661 from evoskuil/master
Derive protocol_ws from protocol_http.
2 parents 4e76a07 + 386dbbe commit 33c08bf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/bitcoin/network/protocols/protocol_ws.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@
2222
#include <memory>
2323
#include <bitcoin/network/channels/channels.hpp>
2424
#include <bitcoin/network/define.hpp>
25-
#include <bitcoin/network/protocols/protocol.hpp>
25+
#include <bitcoin/network/protocols/protocol_http.hpp>
2626

2727
namespace libbitcoin {
2828
namespace network {
2929

3030
class BCT_API protocol_ws
31-
: public protocol
31+
: public protocol_http
3232
{
3333
public:
3434
typedef std::shared_ptr<protocol_ws> ptr;
3535
using channel_t = channel_ws;
3636
using options_t = channel_t::options_t;
3737

3838
protected:
39-
protocol_ws(const session::ptr& session,
40-
const channel::ptr& channel, const options_t&) NOEXCEPT
41-
: protocol(session, channel)
39+
inline protocol_ws(const session::ptr& session,
40+
const channel::ptr& channel, const options_t& options) NOEXCEPT
41+
: protocol_http(session, channel, options)
4242
{
4343
}
4444
};

0 commit comments

Comments
 (0)