Class IceEncodeOptions
Represents a property bag used to configure the encoding of payloads.
public sealed class IceEncodeOptions
- Inheritance
-
IceEncodeOptions
- Inherited Members
Constructors
IceEncodeOptions(MemoryPool<byte>?, int)
Constructs a new instance.
public IceEncodeOptions(MemoryPool<byte>? pool = null, int minimumSegmentSize = -1)
Parameters
poolMemoryPool<byte>The pool parameter for the constructor of PipeOptions.
minimumSegmentSizeintThe minimum segment size for the constructor of PipeOptions.
Properties
Default
Gets the default instance of IceEncodeOptions.
public static IceEncodeOptions Default { get; }
Property Value
PipeOptions
Gets the pipe options that the IceRPC + Ice integration uses when creating pipes. The IceRPC + Ice integration creates a pipe when encoding a request or response payload, and when encoding an async enumerable into a PipeReader.
public PipeOptions PipeOptions { get; }