Skip to content
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.

Commit

Permalink
Fxing compilation errors #11
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Shytikov committed Oct 15, 2018
1 parent 905fd61 commit c066395
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Samples/AspRpc/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)

//initialize web-sockets and bind the service
reportingService = new ReportingService();
app.UseWebSockets();
app.MapWebSocketRPC("/reportingService", (hc, c) => c.Bind<ReportingService, IClientUpdate>(reportingService));
app.UseWebSocketRPC(new WebSocketRPCOptions("/reportingService", (hc, c) => c.Bind<ReportingService, IClientUpdate>(reportingService)));
}
}

Expand Down

0 comments on commit c066395

Please sign in to comment.