using System;
namespace EmbedIO
{
///
/// Provides extension methods for classes derived from .
///
public static class WebServerOptionsBaseExtensions
{
///
/// Adds a URL prefix.
///
/// The type of the object on which this method is called.
/// The object on which this method is called.
/// If , enable support for compressed request bodies.
/// with its SupportCompressedRequests
/// property set to .
/// is .
/// The configuration of is locked.
public static TOptions WithSupportCompressedRequests(this TOptions @this, bool value)
where TOptions : WebServerOptionsBase
{
@this.SupportCompressedRequests = value;
return @this;
}
}
}