lib/httpx/io/unix.rb in httpx-0.22.5 vs lib/httpx/io/unix.rb in httpx-0.23.0
- old
+ new
@@ -1,20 +1,16 @@
# frozen_string_literal: true
-require "forwardable"
-
module HTTPX
class UNIX < TCP
- extend Forwardable
-
using URIExtensions
attr_reader :path
alias_method :host, :path
def initialize(origin, addresses, options)
- @addresses = addresses
+ @addresses = []
@hostname = origin.host
@state = :idle
@options = Options.new(options)
@fallback_protocol = @options.fallback_protocol
if @options.io