-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Add negotiation response support #7675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
// TODO: check available transports | ||
if (!foundWebsockets) | ||
{ | ||
return pplx::task_from_exception<void>(signalr_exception(_XPLATSTR("WebSockets is the only supported transport currently"))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe prefix this with the regular message of "No compatible transports found on the server"
src/SignalR/clients/cpp/test/signalrclienttests/connection_impl_tests.cpp
Show resolved
Hide resolved
src/SignalR/clients/cpp/test/signalrclienttests/connection_impl_tests.cpp
Show resolved
Hide resolved
77684a2
to
bae2832
Compare
{ | ||
auto connection = weak_connection.lock(); | ||
if (!connection) | ||
return pplx::task_from_exception<negotiation_response>(_XPLATSTR("connection no longer exists")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Capitalization and periods for the exception messages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll do an exception/log message pass in a different PR as there are a lot that need to be updated.
Updated the giant list with log and exception messages as an item.
Including support for the Azure SignalR Server (ASRS)!
Fixes #7623 too