Class: Webserver

Inherits:
WebserverAbstract show all
Defined in:
lib/plugins/httpd.rb

Overview

161 loc webserver :)

Constant Summary

Constants inherited from WebserverAbstract

WebserverAbstract::LICON, WebserverAbstract::MIME

Instance Method Summary collapse

Methods inherited from WebserverAbstract

#do_service, #error, #escape, #hescape, #httpdate, #info, #logg, #makeIndex, #mime, #n3, #observe, #redirect, #request, #run, #sendData, #sendError, #sendFile, #serve, #stop_browser, #to_absolute, #to_relative, #to_table, #to_tableb, #unescape

Constructor Details

#initialize(port = 7080, cadence = 10, timeout = 120) ⇒ Webserver

Returns a new instance of Webserver.



190
191
192
# File 'lib/plugins/httpd.rb', line 190

def initialize(port=7080,cadence=10,timeout=120)
  super(port,Dir.getwd(),"",cadence,timeout)
end