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



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

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

#main(handler) ⇒ Object



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

def main(handler)
  @handler = handler
  start
end