Compartir a través de


KestrelServerOptions.EnableAltSvc Propiedad

Definición

Precaución

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.

Controla si se va a devolver el encabezado "Alt-Svc" de una respuesta HTTP/2 o inferior para 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

Valor de propiedad

Atributos

Comentarios

El valor predeterminado es "false".

Se aplica a