Class: Thrift::JsonProtocolFactory

Inherits:
BaseProtocolFactory
  • Object
show all
Defined in:
lib/thrift/json_protocol.rb

Instance Method Summary collapse

Instance Method Details

#get_protocol(trans) ⇒ Object



752
753
754
# File 'lib/thrift/json_protocol.rb', line 752

def get_protocol(trans)
  return Thrift::JsonProtocol.new(trans)
end