aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorLibravatar Finrod Felagund <finrod.felagund.97@gmail.com>2024-06-03 17:43:06 +0200
committerLibravatar Finrod Felagund <finrod.felagund.97@gmail.com>2024-06-04 09:38:50 +0200
commit43b61ff06e18a79a3e16e38445e92b0ad678bd9f (patch)
treea8341eef8b63d45eed8060ae5569727516403f8a /src/client
parent0f4494bf6b292ad7883219cd6628689e7ddb9438 (diff)
remove trailing whitespace and unimplemented closeSubscriptions() function
Diffstat (limited to 'src/client')
-rw-r--r--src/client/websocketpp_client.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/websocketpp_client.cpp b/src/client/websocketpp_client.cpp
index baae054..c7504e1 100644
--- a/src/client/websocketpp_client.cpp
+++ b/src/client/websocketpp_client.cpp
@@ -18,7 +18,7 @@ class WebsocketppClient : public IWebSocketClient
{
public:
void start() override
- {
+ {
this->_client.init_asio();
this->_client.start_perpetual();
};
@@ -34,7 +34,7 @@ public:
error_code error;
websocketpp_client::connection_ptr connection = this->_client.get_connection(uri, error);
- if (error.value() == -1)
+ if (error.value() == -1)
{
// PLOG_ERROR << "Error connecting to relay " << relay << ": " << error.message();
}
@@ -72,7 +72,7 @@ public:
websocketpp::frame::opcode::text,
error);
- if (error.value() == -1)
+ if (error.value() == -1)
{
return make_tuple(uri, false);
}
@@ -110,7 +110,7 @@ public:
handle,
websocketpp::close::status::going_away,
"_client requested close.");
-
+
this->_connectionHandles.erase(uri);
};