예제 #1
0
        public static async Task Main()
        {
            using var host = HostFactory.CreateSignalRHostBuilder(builder =>
            {
                builder.AddRopeWar();
            }).Build();

            await host.RunAsync().ConfigureAwait(false);
        }
예제 #2
0
    public static async Task Main()
    {
        using var host = HostFactory.CreateSignalRHostBuilder(builder =>
        {
            builder.AddWorld();
            builder.Services.AddCharacterAuthentication();
        }).Build();

        await host.RunAsync().ConfigureAwait(false);
    }