mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-24 20:12:20 +00:00
14 lines
360 B
C#
14 lines
360 B
C#
using Daybreak.API.Controllers.WebSocket.MainPlayer;
|
|
using Net.Sdk.Web;
|
|
|
|
namespace Daybreak.API.WebSockets;
|
|
|
|
public static class WebApplicationBuilderExtensions
|
|
{
|
|
public static WebApplicationBuilder WithWebSocketRoutes(this WebApplicationBuilder builder)
|
|
{
|
|
builder.WithWebSocketRoute<MainPlayerStateRoute>();
|
|
return builder;
|
|
}
|
|
}
|