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.
36 37 38 |
# File 'lib/falcon/service/proxy.rb', line 36 def @evaluator. end |
#endpoint ⇒ Object
The upstream endpoint that this proxy will connect to.
41 42 43 |
# File 'lib/falcon/service/proxy.rb', line 41 def endpoint @evaluator.endpoint end |
#name ⇒ Object
31 32 33 |
# File 'lib/falcon/service/proxy.rb', line 31 def name "#{self.class} for #{self.}" end |
#protocol ⇒ Object
The protocol this proxy will use to talk to the upstream host.
56 57 58 |
# File 'lib/falcon/service/proxy.rb', line 56 def protocol endpoint.protocol end |
#root ⇒ Object
The root
51 52 53 |
# File 'lib/falcon/service/proxy.rb', line 51 def root @evaluator.root end |
#scheme ⇒ Object
The scheme this proxy will use to talk to the upstream host.
61 62 63 |
# File 'lib/falcon/service/proxy.rb', line 61 def scheme endpoint.scheme end |
#ssl_context ⇒ Object
The OpenSSL::SSL::SSLContext that will be used for incoming connections.
46 47 48 |
# File 'lib/falcon/service/proxy.rb', line 46 def ssl_context @evaluator.ssl_context end |