mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-29 16:15:50 +00:00
@@ -37,14 +37,16 @@
|
||||
#include <boost/beast/http/string_body.hpp>
|
||||
#include <boost/beast/websocket/error.hpp>
|
||||
#include <boost/beast/websocket/rfc6455.hpp>
|
||||
#include <boost/beast/websocket/stream.hpp>
|
||||
#include <boost/beast/websocket/stream_base.hpp>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <expected>
|
||||
#include <iterator>
|
||||
#include <functional>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
@@ -59,6 +61,11 @@ TestWsConnection::TestWsConnection(
|
||||
{
|
||||
}
|
||||
|
||||
TestWsConnection::TestWsConnection(TestWsConnection&& other)
|
||||
: ws_(std::move(other.ws_)), headers_(std::move(other.headers_))
|
||||
{
|
||||
}
|
||||
|
||||
std::optional<std::string>
|
||||
TestWsConnection::send(std::string const& message, boost::asio::yield_context yield)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user