lib/fishwife/http_server.rb
# Start the server, given rack app to run
Start the server, given rack app to run
Start the server given rack app to run
def start( app )
      set_context_servlets( '/',
                            {'/*' => RackServlet.new(app, @servlet_options)} )
      @server = create
      @server.start
      self.port = @server.connectors[0].local_port
      @server
    end
def start ( app ) set_context_servlets ( '/' , { '/*' => RackServlet . new ( app , @servlet_options ) } ) @server = create @server . start self . port = @server . connectors [ 0 ] . local_port @server end
Start the server, given rack app to run
Start the server given rack app to run
# Recover the server port in case 0 was given.
app
<not_specific>