Class: Drnbench::HttpDroongaClient

Inherits:
HttpClient show all
Defined in:
lib/drnbench/client/http-droonga.rb

Constant Summary collapse

DEFAULT_PATH_BASE =
"/droonga"
DEFAULT_COMMAND =
"search"
DEFAULT_METHOD =
"POST"

Constants inherited from HttpClient

Drnbench::HttpClient::SUPPORTED_HTTP_METHODS

Instance Attribute Summary

Attributes inherited from HttpClient

#results, #runner, #wait

Instance Method Summary collapse

Methods inherited from HttpClient

#run, #running?, #stop

Constructor Details

#initialize(params) ⇒ HttpDroongaClient

Returns a new instance of HttpDroongaClient.



22
23
24
25
# File 'lib/drnbench/client/http-droonga.rb', line 22

def initialize(params)
  super
  @command = params[:command] || DEFAULT_COMMAND
end