Function amqp_send_frame

Synopsis

#include <librabbitmq/amqp.h>

int amqp_send_frame(amqp_connection_state_t state, amqp_frame_t const *frame)

Description

Send a frame to the broker

Parameters:

[ in ] state - the connection object

[ in ] frame - the frame to send to the broker

Return
AMQP_STATUS_OK on success, an amqp_status_enum value on error. Possible error codes:
Since
v0.1

Source

Lines 540-543 in librabbitmq/amqp_connection.c. Line 1340 in librabbitmq/amqp.h.

int amqp_send_frame(amqp_connection_state_t state, const amqp_frame_t *frame) {
  return amqp_send_frame_inner(state, frame, AMQP_SF_NONE,
                               amqp_time_infinite());
}





Add Discussion as Guest

Log in to DocsForge