Overview
-
module Falcon-
module Body-
class RequestFinished < Protocol::HTTP::Body::WrapperWraps a response body and decrements a metric after the body is closed.
-
-
module Command-
class Host < Samovar::CommandImplements the
falcon hostcommand. Designed for deployment. -
module PathsA helper for resolving wildcard configuration paths.
-
class Proxy < Samovar::CommandImplements the
falcon proxycommand.-
optionsThe command line options.
-
-
class Redirect < Samovar::CommandImplements the
falcon redirectcommand.-
optionsThe command line options.
-
-
class Serve < Samovar::CommandImplements the
falcon servecommand. Designed for development.-
optionsThe command line options.
-
-
class Top < Samovar::CommandThe top level command for the
falconexecutable.-
optionsThe command line options.
-
-
class Virtual < Samovar::CommandImplements the
falcon virtualcommand. Designed for deployment.-
optionsThe command line options.
-
-
-
class CompositeServerA composite server that manages multiple
class Falcon::Serverinstances. -
class Endpoint < Async::HTTP::EndpointAn HTTP-specific endpoint which adds localhost TLS.
-
module EnvironmentPre-defined environments for hosting web applications.
-
module ApplicationProvides an environment for hosting a web application that uses TLS.
-
module ClusterProvides an environment for hosting a cluster of Falcon server workers, where each worker binds its own endpoint.
-
module ConfiguredThis module provides a common interface for configuring the Falcon application.
-
module LetsEncryptTLSProvides an environment that uses "Lets Encrypt" for TLS.
-
module ProxyProvides an environment for hosting a TLS-capable reverse proxy using SNI.
-
module RackProvides an environment for hosting a web application that use a Rackup
config.rufile. -
module RackupProvides an environment for hosting loading a Rackup
config.rufile. -
module RedirectProvides an environment for redirecting insecure web traffic to a secure endpoint.
-
module SelfSignedTLSProvides an environment that exposes a self-signed TLS certificate using the
localhostgem. -
module ServeProvides application configuration discovery and loading for
falcon serve. -
module ServerProvides an environment for hosting a web application that uses a Falcon server.
-
module TLSProvides an environment that exposes a TLS context for hosting a secure web application.
-
module VirtualProvides an environment for running virtual hosts with front-end proxy and redirect services.
-
-
class ListenerDescribes a bound listener for a Falcon server.
-
module Middleware-
module BadRequestA static middleware which always returns a 400 bad request response.
-
class Proxy < Protocol::HTTP::MiddlewareA HTTP middleware for proxying requests to a given set of hosts.
-
module NotFoundA static middleware which always returns a 404 not found response.
-
class Redirect < Protocol::HTTP::MiddlewareA HTTP middleware for redirecting a given set of hosts to a different endpoint.
-
class Verbose < Protocol::HTTP::MiddlewareA HTTP middleware for logging requests and responses.
-
-
class ProxyEndpoint < ::IO::Endpoint::GenericAn endpoint suitable for proxing requests, typically via a unix pipe.
-
module Rackup-
class HandlerThe falcon adaptor for the
rackupexecutable.
-
-
class Railtie < Rails::RailtieRails integration for Falcon, configuring ActiveSupport to use fiber-based isolation.
-
class Server < Async::HTTP::ServerA server listening on a specific endpoint, hosting a specific middleware.
-
module Service-
class Cluster < ServerA managed service for running Falcon workers with independently bound endpoints.
-
class Server < Async::Service::Managed::ServiceA managed service for running Falcon servers.
-
class Virtual < Async::Service::GenericA controller which mananages several virtual hosts.
-
-
module TLSTLS configuration and cipher suites for Falcon servers.
-
-
module Rack-
module Handler-
class Falcon < ::Falcon::Rackup::HandlerRack (v2) expects the constant to be in the
Rack::Handlernamespace, so we define a new handler class in theRack::Handlernamespace that inherits fromFalcon::Rackup::Handler.
-
-
-
module Rackup-
module Handler-
class Falcon < ::Falcon::Rackup::HandlerSinatra (and possibly others) try to extract the name using the final part of the class path, so we define a new class in the
Rack::Handlernamespace that inherits fromFalcon::Rackup::Handler, that follows that convention.
-
-
-
Provider