Class: Falcon::Service::Proxy
- Defined in:
- lib/falcon/service/proxy.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#authority ⇒ Object
The host that this proxy will receive connections for.
-
#endpoint ⇒ Object
The upstream endpoint that this proxy will connect to.
- #name ⇒ Object
-
#protocol ⇒ Object
The protocol this proxy will use to talk to the upstream host.
-
#root ⇒ Object
The root.
-
#scheme ⇒ Object
The scheme this proxy will use to talk to the upstream host.
-
#ssl_context ⇒ Object
The OpenSSL::SSL::SSLContext that will be used for incoming connections.
Methods inherited from Generic
#include?, #initialize, #logger, #setup, #start, #stop, wrap
Constructor Details
This class inherits a constructor from Falcon::Service::Generic
Instance Method Details
#authority ⇒ Object
The host that this proxy will receive connections for.
19 20 21 |
# File 'lib/falcon/service/proxy.rb', line 19 def @evaluator. end |
#endpoint ⇒ Object
The upstream endpoint that this proxy will connect to.
24 25 26 |
# File 'lib/falcon/service/proxy.rb', line 24 def endpoint @evaluator.endpoint end |
#name ⇒ Object
14 15 16 |
# File 'lib/falcon/service/proxy.rb', line 14 def name "#{self.class} for #{self.}" end |
#protocol ⇒ Object
The protocol this proxy will use to talk to the upstream host.
39 40 41 |
# File 'lib/falcon/service/proxy.rb', line 39 def protocol endpoint.protocol end |
#root ⇒ Object
The root
34 35 36 |
# File 'lib/falcon/service/proxy.rb', line 34 def root @evaluator.root end |
#scheme ⇒ Object
The scheme this proxy will use to talk to the upstream host.
44 45 46 |
# File 'lib/falcon/service/proxy.rb', line 44 def scheme endpoint.scheme end |
#ssl_context ⇒ Object
The OpenSSL::SSL::SSLContext that will be used for incoming connections.
29 30 31 |
# File 'lib/falcon/service/proxy.rb', line 29 def ssl_context @evaluator.ssl_context end |