Skip to content

Conversation

@BrennanConroy
Copy link
Member

@BrennanConroy BrennanConroy commented Jan 13, 2020

  • And flow config to websockets transport
  • Added new AzDO pipeline builds that don't compile with the cpprestsdk

Fixes dotnet/aspnetcore#8718

@BrennanConroy BrennanConroy marked this pull request as ready for review February 3, 2020 23:44
auto date = utility::datetime::from_string(utility::conversions::to_string_t(date_str), utility::datetime::ISO_8601);
ASSERT_EQ(date_str, utility::conversions::to_utf8string(date.to_string(utility::datetime::ISO_8601)));
//0000-0-00T00:00:00Z [message ] message\n
std::regex r{ "[\\d]{4}-[\\d]{2}-[\\d]{2}T[\\d]{2}:[\\d]{2}:[\\d]{2}Z \\[.{12}\\] \\w{1,}\\n" };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you just put \\[message \\] message\\n instead of the more generic \\[.{12}\\] \\w{1,}\\n at the end of the regex and do both parts of the test at once?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll try, and if you have other ideas for cleaning this regex up that'd be nice too :D

@BrennanConroy BrennanConroy merged commit c603641 into master Feb 5, 2020
@BrennanConroy BrennanConroy deleted the brecon/cpprestsdk branch February 5, 2020 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow the SignalR C++ client to be built without using cpprestsdk

2 participants