Table of Contents

Class FormatSettings

Namespace
Fluxzy.Formatters
Assembly
Fluxzy.Core.dll
public class FormatSettings
Inheritance
FormatSettings
Inherited Members

Properties

Default

public static FormatSettings Default { get; }

Property Value

FormatSettings

MaxFormattableJsonLength

public int MaxFormattableJsonLength { get; set; }

Property Value

int

MaxFormattableProtobufLength

public int MaxFormattableProtobufLength { get; set; }

Property Value

int

MaxFormattableXmlLength

public int MaxFormattableXmlLength { get; set; }

Property Value

int

MaxHeaderLength

public int MaxHeaderLength { get; set; }

Property Value

int

MaxMultipartContentStringLength

public int MaxMultipartContentStringLength { get; set; }

Property Value

int

MaximumRenderableBodyLength

public int MaximumRenderableBodyLength { get; set; }

Property Value

int

ProtoDirectories

public List<string> ProtoDirectories { get; set; }

Property Value

List<string>

ProtobufDecoder

An optional custom protobuf decoder. When set, this decoder is tried first for gRPC message decoding. If it returns null, the built-in protoc-based decoding is used as a fallback (when ProtoDirectories is configured and protoc is available on PATH), followed by raw wire-format decoding.

public IProtobufDecoder? ProtobufDecoder { get; set; }

Property Value

IProtobufDecoder