Dela via


IApplicationBuilder.ServerFeatures Property

Definition

Gets the set of HTTP features the application's server provides.

public:
 property Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ ServerFeatures { Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ get(); };
public Microsoft.AspNetCore.Http.Features.IFeatureCollection ServerFeatures { get; }
member this.ServerFeatures : Microsoft.AspNetCore.Http.Features.IFeatureCollection
Public ReadOnly Property ServerFeatures As IFeatureCollection

Property Value

Remarks

An empty collection is returned if a server wasn't specified for the application builder.

Applies to