Skip to content

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

Merged
merged 9 commits into from
Feb 20, 2019
Merged

Add negotiation response support #7675

merged 9 commits into from
Feb 20, 2019

Conversation

BrennanConroy
Copy link
Member

Including support for the Azure SignalR Server (ASRS)!

Fixes #7623 too

@BrennanConroy BrennanConroy added the area-signalr Includes: SignalR clients and servers label Feb 18, 2019
// TODO: check available transports
if (!foundWebsockets)
{
return pplx::task_from_exception<void>(signalr_exception(_XPLATSTR("WebSockets is the only supported transport currently")));
Copy link
Contributor

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"

{
auto connection = weak_connection.lock();
if (!connection)
return pplx::task_from_exception<negotiation_response>(_XPLATSTR("connection no longer exists"));
Copy link
Contributor

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

Copy link
Member Author

@BrennanConroy BrennanConroy Feb 20, 2019

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.

@BrennanConroy BrennanConroy merged commit e455c2c into master Feb 20, 2019
@BrennanConroy BrennanConroy deleted the brecon/negotiate branch February 20, 2019 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-signalr Includes: SignalR clients and servers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants