Method: #proxy

Defined in:
lib/falcon/environments/proxy.rb

#proxyObject

A HTTP proxy environment.

Derived from #application.



29
30
31
32
33
34
35
36
37
# File 'lib/falcon/environments/proxy.rb', line 29

environment(:proxy) do
	# The upstream endpoint that will handle incoming requests.
	# @attribute [Async::HTTP::Endpoint]
	endpoint {::Async::HTTP::Endpoint.parse(url)}
	
	# The service class to use for the proxy.
	# @attribute [Class]
	service ::Falcon::Service::Proxy
end