Skip to content

Instantly share code, notes, and snippets.

View AnkurMadaan's full-sized avatar
💭
Killing my time

AnkurMadaan

💭
Killing my time
View GitHub Profile
@tpeczek
tpeczek / SslAccelerationMiddleware.cs
Created September 7, 2017 19:10
ASP.NET Core middleware for SSL Acceleration (Offloading) support
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.Extensions.Options;
namespace Demo.AspNetCore.SslAcceleration.Middlewares
{
public class SslAccelerationOptions