You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return pplx::task_from_exception<void>(websocket_exception(_XPLATSTR("Message size too large. Ensure message length is less than or equal to UINT_MAX.")));
346
+
return pplx::task_from_exception<void>(websocket_exception("Message size too large. Ensure message length is less than or equal to UINT_MAX."));
348
347
}
349
348
350
349
{
@@ -370,7 +369,7 @@ class ws_desktop_client : public _websocket_client_impl, public std::enable_shar
370
369
if (m_state > CONNECTED)
371
370
{
372
371
// The client has already been closed.
373
-
return pplx::task_from_exception<websocket_incoming_message>(std::make_exception_ptr(websocket_exception(_XPLATSTR("Websocket connection has closed."))));
372
+
return pplx::task_from_exception<websocket_incoming_message>(std::make_exception_ptr(websocket_exception("Websocket connection has closed.")));
374
373
}
375
374
376
375
if (m_receive_msg_queue.empty())
@@ -421,7 +420,7 @@ class ws_desktop_client : public _websocket_client_impl, public std::enable_shar
421
420
{
422
421
if (bytes_read != length)
423
422
{
424
-
throwwebsocket_exception(_XPLATSTR("Failed to read required length of data from the stream."));
423
+
throwwebsocket_exception("Failed to read required length of data from the stream.");
425
424
}
426
425
});
427
426
}
@@ -509,7 +508,7 @@ class ws_desktop_client : public _websocket_client_impl, public std::enable_shar
509
508
// There are tasks waiting to receive a message, signal them
510
509
auto tce = m_receive_task_queue.front();
511
510
m_receive_task_queue.pop();
512
-
tce.set_exception(std::make_exception_ptr(websocket_exception(_XPLATSTR("Websocket connection has been closed."))));
511
+
tce.set_exception(std::make_exception_ptr(websocket_exception("Websocket connection has been closed.")));
0 commit comments