src/packages/EmbedIO/WebServerOptionsExtensions.cs
/// <summary>
/// Sets the type of HTTP listener.
/// </summary>
/// <param name="this">The <see cref="WebServerOptions"/> on which this method is called.</param>
/// <param name="value">The type of HTTP listener.</param>
/// <returns><paramref name="this"/> with its <see cref="WebServerOptions.Mode">Mode</see> property
/// set to <paramref name="value"/>.</returns>
/// <exception cref="NullReferenceException"><paramref name="this"/> is <see langword="null"/>.</exception>
/// <exception cref="InvalidOperationException">The configuration of <paramref name="this"/> is locked.</exception>
Sets the type of HTTP listener.
Sets the type of HTTP listener .
public static WebServerOptions WithMode(this WebServerOptions @this, HttpListenerMode value)
        {
            @this.Mode = value;
            return @this;
        }
public static WebServerOptions WithMode ( this WebServerOptions @this , HttpListenerMode value ) { @this . Mode = value ; return @this ; }
Sets the type of HTTP listener.
Sets the type of HTTP listener .
with its Mode.
with its Mode .
None
The configuration of  is locked.
The configuration of is locked .
WebServerOptions
this
value
HttpListenerMode
The type of HTTP listener.
The type of HTTP listener .
this
The  on which this method is called.
The on which this method is called .