AcpRemoteServerLimits class final
Bounded resource settings shared by experimental remote ACP servers.
Constructors
- AcpRemoteServerLimits({int maximumBodyBytes = 16 * 1024 * 1024, int maximumSessions = 10000, int maximumPendingRoutes = 4096, int outboundQueueCapacity = 1024, int maximumWebSocketFrameBytes = 16 * 1024 * 1024, int maximumJsonNestingDepth = 128, Duration initializeTimeout = const Duration(seconds: 30), Duration sseKeepAliveInterval = const Duration(seconds: 15)})
-
Creates server limits.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initializeTimeout → Duration
-
Maximum time allowed for authorization/preflight and initialization.
final
- maximumBodyBytes → int
-
Maximum decoded HTTP request-body bytes.
final
- maximumJsonNestingDepth → int
-
Maximum structural object/array nesting in an inbound JSON payload.
final
- maximumPendingRoutes → int
-
Maximum pending request routes or handshake response waiters.
final
- maximumSessions → int
-
Maximum session routes retained by one connection.
final
- maximumWebSocketFrameBytes → int
-
Maximum UTF-8 or binary WebSocket frame bytes.
final
- outboundQueueCapacity → int
-
Maximum replay and paused-subscriber values per outbound hub.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sseKeepAliveInterval → Duration
-
Idle interval between demand-aware SSE keepalive comments.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void - Validates every limit at runtime.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited