mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use ws2 as default in unit tests
This commit is contained in:
committed by
Brad Chase
parent
d53d5cfc42
commit
bf642404c7
@@ -47,10 +47,7 @@ public:
|
||||
|
||||
/** Returns a client operating through WebSockets/S. */
|
||||
std::unique_ptr<WSClient>
|
||||
makeWSClient(Config const& cfg);
|
||||
|
||||
std::unique_ptr<WSClient>
|
||||
makeWS2Client(Config const& cfg);
|
||||
makeWSClient(Config const& cfg, bool v2 = true);
|
||||
|
||||
} // test
|
||||
} // ripple
|
||||
|
||||
@@ -254,15 +254,9 @@ private:
|
||||
};
|
||||
|
||||
std::unique_ptr<WSClient>
|
||||
makeWSClient(Config const& cfg)
|
||||
makeWSClient(Config const& cfg, bool v2)
|
||||
{
|
||||
return std::make_unique<WSClientImpl>(cfg, false);
|
||||
}
|
||||
|
||||
std::unique_ptr<WSClient>
|
||||
makeWS2Client(Config const& cfg)
|
||||
{
|
||||
return std::make_unique<WSClientImpl>(cfg, true);
|
||||
return std::make_unique<WSClientImpl>(cfg, v2);
|
||||
}
|
||||
|
||||
} // test
|
||||
|
||||
Reference in New Issue
Block a user