Module: Mongrel2::Constants
- Included in:
- Mongrel2, Config, Mongrel2::Config::Server, HTTPResponse, Handler, WebSocketRequestFactory
- Defined in:
- lib/mongrel2/constants.rb
Overview
A collection of constants that are shared across the library
Defined Under Namespace
Modules: HTTP
Constant Summary collapse
- DATA_DIR =
The Pathname of the data directory
if ENV['MONGREL2_DATADIR'] Pathname( ENV['MONGREL2_DATADIR'] ) elsif Gem.loaded_specs[ 'mongrel2' ] && File.exist?( Gem.loaded_specs['mongrel2'].datadir ) Pathname( Gem.loaded_specs['mongrel2'].datadir ) else Pathname( __FILE__ ).dirname.parent.parent + 'data/mongrel2' end
- DEFAULT_CONFIG_URI =
The path to the default Sqlite configuration database
'config.sqlite'
- DEFAULT_CONFIG_SCRIPT =
The default name of the config-generation script
'config.rb'
- DEFAULT_CONTROL_SOCKET =
The default URI of the control socket
'ipc://run/control'
- MAX_BROADCAST_IDENTS =
Maximum number of identifiers that can be included in a broadcast response
100