Class: Groonga::Client::Protocol::HTTP::Thread

Inherits:
Synchronous
  • Object
show all
Defined in:
lib/groonga/client/protocol/http/thread.rb

Defined Under Namespace

Classes: Request

Constant Summary

Constants inherited from Synchronous

Synchronous::DEBUG

Instance Method Summary collapse

Methods inherited from Synchronous

#close, #connected?, #initialize

Constructor Details

This class inherits a constructor from Groonga::Client::Protocol::HTTP::Synchronous

Instance Method Details

#send(command) ⇒ Object



37
38
39
40
41
42
# File 'lib/groonga/client/protocol/http/thread.rb', line 37

def send(command)
  thread = ::Thread.new do
    super
  end
  Request.new(thread)
end