ktor-server-core / io.ktor.features / PartialContent / Configuration / maxRangeCount

maxRangeCount

var maxRangeCount: Int

Maximum number of ranges that will be accepted from HTTP request.

If HTTP request specifies more ranges, they will all be merged into a single range.

Getter

Maximum number of ranges that will be accepted from HTTP request.

If HTTP request specifies more ranges, they will all be merged into a single range.

Setter

Maximum number of ranges that will be accepted from HTTP request.

If HTTP request specifies more ranges, they will all be merged into a single range.