ListenOptions.KestrelServerOptions Property

Definition

Gets the KestrelServerOptions for the listener options. Enables connection middleware to resolve and use services registered by the application during startup.

public:
 property Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^ KestrelServerOptions { Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^ get(); };
public Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions KestrelServerOptions { get; }
member this.KestrelServerOptions : Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions
Public ReadOnly Property KestrelServerOptions As KestrelServerOptions

Property Value

Remarks

Only set if accessed from the callback of a KestrelServerOptions Listen* method.

Applies to