Class: Falcon::Service::Proxy

Inherits:
Generic
  • Object
show all
Defined in:
lib/falcon/service/proxy.rb

Direct Known Subclasses

Application

Instance Method Summary collapse

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

#authorityObject



33
34
35
# File 'lib/falcon/service/proxy.rb', line 33

def authority
  @evaluator.authority
end

#endpointObject



37
38
39
# File 'lib/falcon/service/proxy.rb', line 37

def endpoint
  @evaluator.endpoint
end

#nameObject



29
30
31
# File 'lib/falcon/service/proxy.rb', line 29

def name
  "#{self.class} for #{self.authority}"
end

#protocolObject



49
50
51
# File 'lib/falcon/service/proxy.rb', line 49

def protocol
  endpoint.protocol
end

#rootObject



45
46
47
# File 'lib/falcon/service/proxy.rb', line 45

def root
  @evaluator.root
end

#schemeObject



53
54
55
# File 'lib/falcon/service/proxy.rb', line 53

def scheme
  endpoint.scheme
end

#ssl_contextObject



41
42
43
# File 'lib/falcon/service/proxy.rb', line 41

def ssl_context
  @evaluator.ssl_context
end