Function amqp_channel_open

Synopsis

#include <librabbitmq/amqp_framing.h>

amqp_channel_open_ok_t * amqp_channel_open(amqp_connection_state_t state, amqp_channel_t channel)

Description

amqp_channel_open

Parameters:

[ in ] state - connection state

[ in ] channel - the channel to do the RPC on

Return
amqp_channel_open_ok_t

Mentioned in

Source

Lines 2443-2451 in librabbitmq/amqp_framing.c. Line 891 in librabbitmq/amqp_framing.h.

AMQP_PUBLIC_FUNCTION
amqp_channel_open_ok_t *AMQP_CALL
    amqp_channel_open(amqp_connection_state_t state, amqp_channel_t channel) {
  amqp_channel_open_t req;
  req.out_of_band = amqp_empty_bytes;

  return amqp_simple_rpc_decoded(state, channel, AMQP_CHANNEL_OPEN_METHOD,
                                 AMQP_CHANNEL_OPEN_OK_METHOD, &req);
}





Add Discussion as Guest

Log in to DocsForge