ListenOptions.Protocols Property  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The protocols enabled on this endpoint.
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, setPublic Property Protocols As HttpProtocolsProperty Value
Remarks
Defaults to HTTP/1.x and HTTP/2