Class: Ritm::Proxy::Launcher
- Inherits:
-
Object
- Object
- Ritm::Proxy::Launcher
- Defined in:
- lib/ritm/proxy/launcher.rb
Overview
Launches the Proxy server and the SSL Reverse Proxy with the given settings
Instance Method Summary collapse
-
#initialize(session) ⇒ Launcher
constructor
A new instance of Launcher.
- #shutdown ⇒ Object
- #start ⇒ Object
Constructor Details
#initialize(session) ⇒ Launcher
11 12 13 14 15 |
# File 'lib/ritm/proxy/launcher.rb', line 11 def initialize(session) build_settings(session) build_reverse_proxy build_proxy end |
Instance Method Details
#shutdown ⇒ Object
22 23 24 25 |
# File 'lib/ritm/proxy/launcher.rb', line 22 def shutdown @https.shutdown @http.shutdown end |
#start ⇒ Object
17 18 19 20 |
# File 'lib/ritm/proxy/launcher.rb', line 17 def start @https.start_async @http.start_async end |