File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -134,12 +134,7 @@ asio::awaitable<result<std::string_view>> websocket::read()
134134 co_return ec;
135135
136136 // Convert it to a string_view (no copy is performed)
137- auto res = buffer_to_sv (impl_->read_buffer .data ());
138-
139- // Log it
140- std::cout << " (READ) " << res << std::endl;
141-
142- co_return res;
137+ co_return buffer_to_sv (impl_->read_buffer .data ());
143138}
144139
145140asio::awaitable<error_code> websocket::write_locked_impl (std::string_view buff)
@@ -149,10 +144,6 @@ asio::awaitable<error_code> websocket::write_locked_impl(std::string_view buff)
149144 // Perform the write
150145 error_code ec;
151146 co_await impl_->ws .async_write (asio::buffer (buff), asio::redirect_error (ec));
152-
153- // Log it
154- std::cout << " (WRITE) " << buff << std::endl;
155-
156147 co_return ec;
157148}
158149
You can’t perform that action at this time.
0 commit comments