mirror of
https://github.com/yawaflua/WebSockets.git
synced 2026-02-04 14:04:11 +02:00
Refactor WebSocket routing and error handling logic
Replaces `Dictionary` with `ConcurrentDictionary` for thread-safe WebSocket route management and improves error logging with added debug assertions. Also fixes duplicate registrations, enhances dependency injection, updates package references, and adjusts WebSocket attribute structure for better extensibility and usage.
This commit is contained in:
@@ -46,6 +46,8 @@ internal class Startup
|
||||
services.AddScoped<IConfiguration>(_ => new ConfigurationBuilder()
|
||||
.AddJsonFile("appsettings.json", true)
|
||||
.Build());
|
||||
|
||||
|
||||
}
|
||||
|
||||
public static void Configure(IApplicationBuilder app)
|
||||
|
||||
Reference in New Issue
Block a user