อ่านในภาษาอังกฤษ

แชร์ผ่าน


KestrelServerLimits.MaxConcurrentConnections Property

Definition

Gets or sets the maximum number of open connections. When set to null, the number of connections is unlimited.

Defaults to null.

C#
public long? MaxConcurrentConnections { get; set; }

Property Value

Remarks

When a connection is upgraded to another protocol, such as WebSockets, its connection is counted against the MaxConcurrentUpgradedConnections limit instead of MaxConcurrentConnections.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0