Class WebServerOptionsBaseExtensions
Provides extension methods for classes derived from WebServerOptionsBase.
Inherited Members
Namespace: EmbedIO
Syntax
public static class WebServerOptionsBaseExtensions
Methods
WithSupportCompressedRequests<TOptions>(TOptions, Boolean)
Adds a URL prefix.
Declaration
public static TOptions WithSupportCompressedRequests<TOptions>(this TOptions this, bool value)
where TOptions : WebServerOptionsBase
Parameters
Type | Name | Description |
---|---|---|
TOptions | this | The object on which this method is called. |
Boolean | value | If true, enable support for compressed request bodies. |
Returns
Type | Description |
---|---|
TOptions |
|
Type Parameters
Name | Description |
---|---|
TOptions | The type of the object on which this method is called. |