ClientSettings class
Settings for a TransportConnection a client can make.
Constructors
- ClientSettings({int? concurrentStreamLimit = defaultMaxConcurrentStreams, int? streamWindowSize, int? connectionWindowSize, int? maxFrameSize, int? maxInboundHeaderBlockSize = defaultMaxInboundHeaderBlockSize, int? maxInboundHeaderListSize = defaultMaxInboundHeaderListSize, Duration? inboundHeaderBlockTimeout = defaultInboundHeaderBlockTimeout, int? maxContinuationFramesPerBlock = defaultMaxContinuationFramesPerBlock, int? maxPeerStreamLimitViolations = defaultMaxPeerStreamLimitViolations, bool allowServerPushes = false})
-
const
Properties
- allowServerPushes → bool
-
Whether the client allows pushes from the server (defaults to false).
final
- concurrentStreamLimit → int?
-
The maximum number of concurrent streams the remote end can open
(defaults to defaultMaxConcurrentStreams).
finalinherited
- connectionWindowSize → int?
-
The connection-level window the remote peer can use (defaults to 65535
bytes; must be between 65535 and 2147483647).
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- inboundHeaderBlockTimeout → Duration?
-
Absolute time allowed to receive a complete inbound field block.
finalinherited
- maxContinuationFramesPerBlock → int?
-
Maximum number of CONTINUATION frames accepted for one field block.
finalinherited
- maxFrameSize → int?
-
The largest frame payload this end accepts, sent as
SETTINGS_MAX_FRAME_SIZE (defaults to 16384 bytes; must be between 16384
and 16777215).
finalinherited
- maxInboundHeaderBlockSize → int?
-
Maximum compressed bytes retained for one inbound field block.
finalinherited
- maxInboundHeaderListSize → int?
-
Maximum decoded size of one inbound field section.
finalinherited
- maxPeerStreamLimitViolations → int?
-
Consecutive peer stream-limit violations allowed before terminating the
connection with ENHANCE_YOUR_CALM.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamWindowSize → int?
-
The default stream window size the remote peer can use when creating new
streams (defaults to 65535 bytes).
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited