Method: RabbitMQ::FFI::ChannelOpen#apply

Defined in:
lib/rabbitmq/ffi/gen/channel_open.rb

#apply(out_of_band: nil) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



15
16
17
18
# File 'lib/rabbitmq/ffi/gen/channel_open.rb', line 15

def apply(out_of_band: nil)
  self[:out_of_band] = Bytes.from_s(out_of_band.to_s) if out_of_band
  self
end