ListenOptions.Protocols 속성

정의

이 엔드포인트에서 사용하도록 설정된 프로토콜입니다.

public:
 property Microsoft::AspNetCore::Server::Kestrel::Core::HttpProtocols Protocols { Microsoft::AspNetCore::Server::Kestrel::Core::HttpProtocols get(); void set(Microsoft::AspNetCore::Server::Kestrel::Core::HttpProtocols value); };
public Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols Protocols { get; set; }
member this.Protocols : Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols with get, set
Public Property Protocols As HttpProtocols

속성 값

설명

기본값은 HTTP/1.x, HTTP/2 및 HTTP/3입니다.

적용 대상