Table of Contents

Interface IProtobufFeature

Namespace
IceRpc.Features
Assembly
IceRpc.Protobuf.dll

Represents a feature used to customize the encoding and decoding of request and response payloads.

public interface IProtobufFeature

Properties

EncodeOptions

Gets the options to use when encoding the payload of an outgoing response.

ProtobufEncodeOptions? EncodeOptions { get; }

Property Value

ProtobufEncodeOptions

The Protobuf encode options. null is equivalent to Default.

MaxMessageLength

Gets the maximum length of an encoded Protobuf message, in bytes.

int MaxMessageLength { get; }

Property Value

int

The maximum length of a Protobuf message, in bytes.