Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum Microsoft.​AspNetCore.​Http.​Features.​HttpsCompressionMode

Assembly: Microsoft.AspNetCore.Http.Features

Use to dynamically control response compression for HTTPS requests.

Values

Default
No value has been specified, use the configured defaults.
DoNotCompress
Opts out of compression over HTTPS. Enabling compression on HTTPS requests for remotely manipulable content may expose security problems.
Compress
Opts into compression over HTTPS. Enabling compression on HTTPS requests for remotely manipulable content may expose security problems.