class Crabbit::FrameTooLargeError

Overview

Raised when an encoded frame exceeds the negotiated maximum size.

Defined in:

crabbit/errors.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(size : UInt32, limit : UInt32) #

Creates a frame-size error.


[View source]

Instance Method Detail

def limit : UInt32 #

Returns the negotiated frame-size limit in bytes.


[View source]
def size : UInt32 #

Returns the attempted frame size in bytes.


[View source]