A CGI library using WEBrick requests and responses.

Example:

class MyCGI < WEBrick::CGI
  def do_GET req, res
    res.body = 'it worked!'
    res.status = 200
  end
end

MyCGI.new.start

Constants

CGIError = Class.new(StandardError)

Attributes

[R] logger

The CGI logger

[R] config

The CGI configuration. This is based on WEBrick::Config::HTTP

Show files where this class is defined (1 file)
Register or log in to add new notes.