new

new(port, host = DEFAULT_HOST, maxConnections = 4, stdlog = $stderr, audit = false, debug = false)
Class Public methods

Create a new server

port

the port, as a FixNum, on which to listen

host

the host to bind to

maxConnections

the maximum number of simultaneous connections to accept

stdlog

IO device on which to log messages

audit

if true, lifecycle callbacks will be called. See audit

debug

if true, error messages are logged. See debug

doc_ruby_on_rails
2015-04-11 20:08:31
Comments
Leave a Comment

Please login to continue.