struct Proto::DecodeOptions

Overview

Limits applied to a generated message and its nested fields.

Defined in:

proto/options.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(max_message_size : Int64 = (64_i64 * 1024) * 1024, max_field_length : Int32 = (8 * 1024) * 1024, max_recursion_depth : Int32 = 100) #

[View source]

Instance Method Detail

def max_field_length : Int32 #

[View source]
def max_message_size : Int64 #

[View source]
def max_recursion_depth : Int32 #

[View source]