Module: SSLGate
- Defined in:
- lib/ssl_gate.rb,
lib/ssl_gate/runner.rb,
lib/ssl_gate/raw_ssl.rb,
lib/ssl_gate/raw_gate.rb,
lib/ssl_gate/base_gate.rb,
lib/ssl_gate/client_cert.rb,
lib/ssl_gate/headers_mod.rb,
lib/ssl_gate/base_ssl_gate.rb
Defined Under Namespace
Modules: ClientCertAddOn, HeadersModAddOn, SSLBackendAddOn, SSLRawAddOn Classes: HTTPServer, HTTPServerAll, RawClient, RawServer, RawServerAll, Runner, SSLBackend
Class Method Summary collapse
Class Method Details
.factory(config) ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'lib/ssl_gate.rb', line 25 def self.factory(config) config.each do |key, conf| case conf[:target] when /http/ then HTTPServerAll.start conf else RawServerAll.start conf end end end |