class Falcon::ProxyEndpoint
def self.unix(path, **options)
def self.unix(path, **options) self.new(::Async::IO::Endpoint.unix(path), **options) end
def authority
def authority @options[:authority] end
def bind(&block)
def bind(&block) @endpoint.bind(&block) end
def connect(&block)
def connect(&block) @endpoint.connect(&block) end
def each
def each return to_enum unless block_given? @endpoint.each do |endpoint| yield self.class.new(endpoint, @options) end end
def initialize(endpoint, **options)
def initialize(endpoint, **options) super(**options) @endpoint = endpoint end
def protocol
def protocol @options[:protocol] end
def scheme
def scheme @options[:scheme] end
def to_s
def to_s "\#<#{self.class} endpoint=#{@endpoint}>" end