Skip to content

Commit

Permalink
Upgrade the Microsoft.AspNetCore.WebSockets package
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavien committed Dec 5, 2016
1 parent b51aa6f commit f68c0aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Openchain.Server/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF
{
if (bool.Parse(configuration["enable_transaction_stream"]))
{
managedWebSocketsApp.UseWebSockets(new WebSocketOptions() { ReplaceFeature = true });
managedWebSocketsApp.UseWebSockets();
managedWebSocketsApp.Use(next => new TransactionStreamMiddleware(next).Invoke);
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/Openchain.Server/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"Microsoft.AspNetCore.Mvc.Core": "1.1.*",
"Microsoft.AspNetCore.Mvc.ViewFeatures": "1.1.*",
"Microsoft.AspNetCore.Server.Kestrel": "1.1.*",
"Microsoft.AspNetCore.WebSockets.Server": "0.1.0",
"Microsoft.AspNetCore.WebSockets": "1.0.0",
"Microsoft.Extensions.Logging.Console": "1.1.*",
"Microsoft.Extensions.Configuration.Json": "1.1.*",
"Microsoft.Extensions.Configuration.UserSecrets": "1.1.*",
Expand Down

0 comments on commit f68c0aa

Please sign in to comment.