Method: MessageBus::Implementation#transport_codec

Defined in:
lib/message_bus.rb

#transport_codecMessageBus::Codec::Base

Returns codec used to encode and decode Message payloads.

Returns:


283
284
285
# File 'lib/message_bus.rb', line 283

def transport_codec
  @config[:transport_codec] ||= MessageBus::Codec::Json.new
end