Function amqp_get_frame_max

Synopsis

#include <librabbitmq/amqp.h>

int amqp_get_frame_max(amqp_connection_state_t state)

Description

Get the maximum size of an frame the connection can handle

The maximum size of an frame is set when connection negotiation takes place in amqp_login() or amqp_login_with_properties().

Parameters:

[ in ] state - the connection object

Return
the maximum size of an frame.
Since
v0.6

Source

Lines 181-183 in librabbitmq/amqp_connection.c. Line 1144 in librabbitmq/amqp.h.

int amqp_get_frame_max(amqp_connection_state_t state) {
  return state->frame_max;
}





Add Discussion as Guest

Log in to DocsForge