module Falcon::Environment::Virtual

def bind_insecure

The URI to bind the `HTTP` -> `HTTPS` redirector.
def bind_insecure
	"http://[::]:80"
end

def bind_secure

The URI to bind the `HTTPS` -> `falcon host` proxy.
def bind_secure
	"https://[::]:443"
end

def falcon_path

@returns [String]
The path to the falcon executable from this gem.
def falcon_path
	File.expand_path("../../../bin/falcon", __dir__)
end

def name

def name
	service_class.name
end

def service_class

@returns [Class]
The service class to use for the virtual host.
def service_class
	Service::Virtual
end

def timeout

The connection timeout to use for incoming connections.
def timeout
	10.0
end