struct GRPC::ProtobufOptions

Overview

Protobuf limits for generated stubs. They are independent of gRPC frame limits and require message types generated by a compatible proto.cr.

Defined in:

grpc/protobuf_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]