KestrelServerLimits.MaxConcurrentConnections Propriedade

Definição

Obtém ou define o número máximo de conexões abertas. Quando definido como nulo, o número de conexões é ilimitado.

O padrão é nulo.

public:
 property Nullable<long> MaxConcurrentConnections { Nullable<long> get(); void set(Nullable<long> value); };
public long? MaxConcurrentConnections { get; set; }
member this.MaxConcurrentConnections : Nullable<int64> with get, set
Public Property MaxConcurrentConnections As Nullable(Of Long)

Valor da propriedade

Comentários

Quando uma conexão é atualizada para outro protocolo, como WebSockets, sua conexão é contada em relação ao MaxConcurrentUpgradedConnections limite em vez de MaxConcurrentConnections.

Aplica-se a