Created
June 18, 2021 12:34
-
-
Save kudchikarsk/4a26dc7788d44efb687bbda62760c618 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.AspNetCore.Builder; | |
namespace Enqueme.API.Middleware | |
{ | |
public static class HttpContextMiddlewareExtensions | |
{ | |
public static IApplicationBuilder UseHttpContextMiddleware(this IApplicationBuilder builder) | |
{ | |
return builder.UseMiddleware<HttpContextMiddleware>(); | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment