Skip to content

Commit 77684a2

Browse files
committed
cleanup
1 parent efa097d commit 77684a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/SignalR/clients/cpp/samples/HubConnectionSample/HubConnectionSample.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ class logger : public signalr::log_writer
2020
void send_message(signalr::hub_connection& connection, const utility::string_t& name, const utility::string_t& message)
2121
{
2222
web::json::value args{};
23-
//args[0] = web::json::value::string(name);
24-
args[0] = web::json::value(message);
23+
args[0] = web::json::value::string(name);
24+
args[1] = web::json::value(message);
2525

2626
// if you get an internal compiler error uncomment the lambda below or install VS Update 4
27-
connection.invoke(U("Send"), args/*, [](const web::json::value&){}*/)
27+
connection.invoke(U("Invoke"), args/*, [](const web::json::value&){}*/)
2828
.then([](pplx::task<web::json::value> invoke_task) // fire and forget but we need to observe exceptions
2929
{
3030
try

0 commit comments

Comments
 (0)