AcpHttpClientLimits constructor

const AcpHttpClientLimits({
  1. int maximumBodyBytes = 16 * 1024 * 1024,
  2. int maximumSseLineBytes = 16 * 1024 * 1024,
  3. int maximumSseEventBytes = 16 * 1024 * 1024,
  4. int maximumPendingSessionRequests = 1024,
  5. int maximumJsonNestingDepth = 128,
})

Creates validated limits.

Implementation

const AcpHttpClientLimits({
  this.maximumBodyBytes = 16 * 1024 * 1024,
  this.maximumSseLineBytes = 16 * 1024 * 1024,
  this.maximumSseEventBytes = 16 * 1024 * 1024,
  this.maximumPendingSessionRequests = 1024,
  this.maximumJsonNestingDepth = 128,
});