Table of Contents

Class IceEncodeOptions

Namespace
IceRpc.Ice
Assembly
IceRpc.Ice.dll

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

pool MemoryPool<byte>

The pool parameter for the constructor of PipeOptions.

minimumSegmentSize int

The minimum segment size for the constructor of PipeOptions.

Properties

Default

Gets the default instance of IceEncodeOptions.

public static IceEncodeOptions Default { get; }

Property Value

IceEncodeOptions

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; }

Property Value

PipeOptions