Sha256: 937e9a9e1481ee162594e9057ed201bcd91d4805659d97dacf972fc42aeea6e2

Contents?: true

Size: 560 Bytes

Versions: 9

Compression:

Stored size: 560 Bytes

Contents

#!/usr/bin/env falcon-host
# frozen_string_literal: true

load :rack, :self_signed_tls, :supervisor

supervisor

rack 'hello.localhost', :self_signed_tls do
	# scheme 'http'
	# protocol {Async::HTTP::Protocol::HTTP1}
	# 
	# endpoint do
	# 	Async::HTTP::Endpoint.for(scheme, "localhost", port: 9292, protocol: protocol)
	# end
	
	append preload "preload.rb"
	
	# Process will connect to supervisor to report statistics periodically, otherwise it would be killed.
	# report :supervisor
end

# service 'jobs' do
# 	shell ['rake', 'background:jobs:process']
# end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
falcon-0.36.4 examples/hello/falcon.rb
falcon-0.36.3 examples/hello/falcon.rb
falcon-0.36.2 examples/hello/falcon.rb
falcon-0.36.1 examples/hello/falcon.rb
falcon-0.36.0 examples/hello/falcon.rb
falcon-0.35.6 examples/hello/falcon.rb
falcon-0.35.5 examples/hello/falcon.rb
falcon-0.35.4 examples/hello/falcon.rb
falcon-0.35.3 examples/hello/falcon.rb