Class: Restify::Adapter::EM

Inherits:
Base
  • Object
show all
Defined in:
lib/restify/adapter/em.rb

Defined Under Namespace

Classes: Connection

Instance Method Summary collapse

Methods inherited from Base

#call

Instance Method Details

#call_native(request, writer) ⇒ Object



114
115
116
117
118
# File 'lib/restify/adapter/em.rb', line 114

def call_native(request, writer)
  next_tick do
    Connection.open(request.uri).call(request, writer)
  end
end