General -> Hash
[permalink][rdoc]WEBrick::GenericServer の設定のデフォルト値を保持したハッシュです。
require 'webrick' WEBrick::Config::General = { :ServerName => Utils.getservername, :BindAddress => nil, # "0.0.0.0" or "::" or nil :Port => nil, # users MUST specify this!! :MaxClients => 100, # maximum number of the concurrent connections :ServerType => nil, # default: WEBrick::SimpleServer :Logger => nil, # default: WEBrick::Log.new :ServerSoftware => "WEBrick/#{WEBrick::VERSION} " + "(Ruby/#{RUBY_VERSION}/#{RUBY_RELEASE_DATE})", :TempDir => ENV['TMPDIR']||ENV['TMP']||ENV['TEMP']||'/tmp', :DoNotListen => false, :StartCallback => nil, :StopCallback => nil, :AcceptCallback => nil, :DoNotReverseLookup => true, }
General -> Hash
[permalink][rdoc] [redefined by webrick/ssl]
WEBrick::Config::SSL の内容がマージされます。