implement a few more messages

This commit is contained in:
Mikhail Thompson
2024-06-27 14:50:17 +03:00
parent c15227748f
commit 7f4e947cf5
14 changed files with 343 additions and 12 deletions

View File

@@ -32,6 +32,15 @@ namespace nksrv.LobbyServer
public async Task HandleAsync(IHttpContext ctx)
{
this.ctx = ctx;
if (ctx.Request.Headers.AllKeys.Contains("Authorization"))
{
var token = ctx.Request.Headers["Authorization"];
if (token != null)
{
UsedAuthToken = token;
}
}
await HandleAsync();
}
public async Task HandleAsync(string authToken)