KestrelServerOptions.EnableAltSvc 속성

정의

주의

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에서 "Alt-Svc" 헤더를 반환할지 또는 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

속성 값

특성

설명

기본값은 false입니다.

적용 대상