KestrelServerOptions.EnableAltSvc Özellik

Tanım

Dikkat

This property is obsolete and will be removed in a future version. It no longer has any impact on runtime behavior. Use ListenOptions.DisableAltSvcHeader to configure "Alt-Svc" behavior.

HTTP/2'den "Alt-Svc" üst bilgisinin mi yoksa HTTP/3 için daha düşük yanıtın mı döndürüleceği denetler.

public:
 property bool EnableAltSvc { bool get(); void set(bool value); };
public bool EnableAltSvc { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. It no longer has any impact on runtime behavior. Use ListenOptions.DisableAltSvcHeader to configure "Alt-Svc" behavior.", true)]
public bool EnableAltSvc { get; set; }
member this.EnableAltSvc : bool with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. It no longer has any impact on runtime behavior. Use ListenOptions.DisableAltSvcHeader to configure "Alt-Svc" behavior.", true)>]
member this.EnableAltSvc : bool with get, set
Public Property EnableAltSvc As Boolean

Özellik Değeri

Öznitelikler

Açıklamalar

Varsayılan değer false şeklindedir.

Şunlara uygulanır