Class ColocTransportOptions
- Namespace
- IceRpc.Transports.Coloc
- Assembly
- IceRpc.Transports.Coloc.dll
A property bag used to configure a ColocTransport.
public sealed record ColocTransportOptions : IEquatable<ColocTransportOptions>
- Inheritance
-
ColocTransportOptions
- Implements
- Inherited Members
Properties
ListenBacklog
Gets or sets the maximum length of the pending connections queue.
public int ListenBacklog { get; set; }
Property Value
- int
The maximum queue length. The value cannot be less than
1
. Defaults to511
.
PauseWriterThreshold
Gets or sets the number of bytes in the Coloc connection when WriteAsync(ReadOnlySequence<byte>, CancellationToken) starts blocking.
public int PauseWriterThreshold { get; set; }
Property Value
- int
The pause writer threshold. The value cannot be less than
1
KB. Defaults to64
KB.
ResumeWriterThreshold
Gets or sets the number of bytes in the Coloc connection when WriteAsync(ReadOnlySequence<byte>, CancellationToken) stops blocking.
public int ResumeWriterThreshold { get; set; }
Property Value
- int
The resume writer threshold. The value cannot be less than
1
KB and cannot be greater than PauseWriterThreshold. Defaults to32
KB.