Module: Ronin::Web
- Defined in:
- lib/ronin/web/server.rb,
lib/ronin/web/server/app.rb,
lib/ronin/web/server/base.rb,
lib/ronin/web/server/helpers.rb,
lib/ronin/web/server/request.rb,
lib/ronin/web/server/routing.rb,
lib/ronin/web/server/version.rb,
lib/ronin/web/server/response.rb,
lib/ronin/web/server/conditions.rb,
lib/ronin/web/server/reverse_proxy.rb,
lib/ronin/web/server/reverse_proxy/request.rb,
lib/ronin/web/server/reverse_proxy/response.rb
Overview
Namespace for ronin-web.
Defined Under Namespace
Modules: Server
Class Method Summary collapse
-
.server(options = {}) {|server| ... } ⇒ Server::App
Returns the Ronin Web Server.
Class Method Details
.server(options = {}) {|server| ... } ⇒ Server::App
Returns the Ronin Web Server.
57 58 59 60 61 62 63 64 65 |
# File 'lib/ronin/web/server.rb', line 57 def self.server(={},&block) unless @server @server = Server::App @server.run!(.merge(background: true)) end @server.class_eval(&block) if block return @server end |