using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using static DeluxeBackend.Enums; namespace DeluxeBackend.Controllers { [Route("Notifications/hub/v1/negotiate")] [ApiController] public class NotificationsNegotiate: ControllerBase { [HttpGet] [HttpPost] [Authorize] public async Task Ns() { return Ok(new { negotiateVersion = 2, //connectionId = "meow", //accessToken = "Meow", availableTransports = new[] { new { transport = "WebSockets", transferFormats = new[] { "Text", "Binary" } } } }); } } }