Added room functionality

This commit is contained in:
2023-03-13 12:27:41 +01:00
parent cb305792d0
commit 390190cc35
4 changed files with 86 additions and 13 deletions

View File

@@ -1,3 +1,5 @@
using MauMau_Server.Websockets;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
@@ -6,6 +8,7 @@ services.AddControllers();
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
services.AddEndpointsApiExplorer();
services.AddSwaggerGen();
services.AddScoped<IWebsocketManager, WebsocketManager>();
var app = builder.Build();