KestrunResponseCompressionProvider.CheckRequestAcceptsCompression method
Determines if the request accepts compression, taking into account endpoint metadata.
public bool CheckRequestAcceptsCompression(HttpContext context)
| parameter | description |
|---|---|
| context | The HTTP context. |
Return Value
True if the request accepts compression; otherwise, false.
See Also
- class KestrunResponseCompressionProvider
- namespace Kestrun.Hosting.Compression