Class: Ritm::Proxy::Launcher

Inherits:
Object
  • Object
show all
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

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

#shutdownObject



22
23
24
25
# File 'lib/ritm/proxy/launcher.rb', line 22

def shutdown
  @https.shutdown
  @http.shutdown
end

#startObject



17
18
19
20
# File 'lib/ritm/proxy/launcher.rb', line 17

def start
  @https.start_async
  @http.start_async
end