This allows you to listen to both RawSocket and WebSocket requests on the same port. For example, the following code listens both to WAMP RawSocket requests on port 8080 and to WAMP WebSocket requests on ws://localhost:8080/ws/ (using the WampSharp.AspNetCore.WebSockets.Server package):

Optimizations for router-side pub/sub publications were made for RawSocket implementation. These also affect (minorly) the WampSharp.WebSockets based WebSockets implementations (i.e. ASP.NET, ASP.NET Core, Owin, HttpListener).

A lot of auto refactoring was done to leverage C# 6.0 and C# 7.0 features. These include expression bodied properties, nameof operator, readonly properties, string interpolation, pattern matching, var out, etc. This should not affect the implementation in any way.