class Upfluence::HTTP::Builder
Public Instance Methods
run_thrift(processor, handler, timeout = 30)
click to toggle source
# File lib/upfluence/http/builder.rb, line 8 def run_thrift(processor, handler, timeout = 30) run Thrift::RackApplication.for( '/', processor.new( Upfluence::Utils::Thrift::Middleware.setup(handler, timeout) ), Thrift::BinaryProtocolFactory.new ) end