Partager via


KestrelServerOptions.EnableAltSvc Propriété

Définition

Attention

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.

Contrôle s’il faut retourner l’en-tête « Alt-Svc » à partir d’une réponse HTTP/2 ou inférieure pour HTTP/3.

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

Valeur de propriété

Attributs

Remarques

La valeur par défaut est false.

S’applique à