Condividi tramite


ListenOptions.Protocols Proprietà

Definizione

Protocolli abilitati in questo 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, set
Public Property Protocols As HttpProtocols

Valore della proprietà

Commenti

Il valore predefinito è HTTP/1.x, HTTP/2 e HTTP/3.

Si applica a