Class: BitClust::Interface::CGI

Inherits:
WEBrick::CGI
  • Object
show all
Defined in:
lib/bitclust/interface.rb

Direct Known Subclasses

FCGI

Instance Method Summary collapse

Instance Method Details

#do_GET(wreq, wres) ⇒ Object Also known as: do_POST


62
63
64
# File 'lib/bitclust/interface.rb', line 62

def do_GET(wreq, wres)
  @handler.handle(wreq).update wres
end

#main(handler) ⇒ Object


57
58
59
60
# File 'lib/bitclust/interface.rb', line 57

def main(handler)
  @handler = handler
  start
end