mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-28 07:35:52 +00:00
@@ -31,7 +31,7 @@ struct MockSession : public web::ConnectionBase
|
||||
}
|
||||
|
||||
void
|
||||
send(std::string&& msg, boost::beast::http::status status = boost::beast::http::status::ok) override
|
||||
send(std::string&& msg, boost::beast::http::status = boost::beast::http::status::ok) override
|
||||
{
|
||||
message += msg;
|
||||
}
|
||||
@@ -43,15 +43,14 @@ struct MockSession : public web::ConnectionBase
|
||||
|
||||
struct MockDeadSession : public web::ConnectionBase
|
||||
{
|
||||
void
|
||||
send(std::shared_ptr<std::string> _) override
|
||||
void send(std::shared_ptr<std::string>) override
|
||||
{
|
||||
// err happen, the session should remove from subscribers
|
||||
ec_.assign(2, boost::system::system_category());
|
||||
}
|
||||
|
||||
void
|
||||
send(std::string&& _, boost::beast::http::status __ = boost::beast::http::status::ok) override
|
||||
send(std::string&&, boost::beast::http::status = boost::beast::http::status::ok) override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user