using Microsoft.AspNetCore.Builder; namespace StardewModdingAPI.Web.Framework.ClientPlatformDetection { /// Extension methods for the client platform middleware. internal static class ClientPlatformMiddlewareExtensions { /// Adds client platform detection to the request pipeline. /// The application builder. /// The application builder with the client platform middleware enabled. public static IApplicationBuilder UseClientPlatform(this IApplicationBuilder builder) { return builder.UseMiddleware(); } } }