Class: DockerEngineRuby::Internal::Transport::PooledNetRequester::UnixSocketHTTP Private
- Inherits:
-
Net::HTTP
- Object
- Net::HTTP
- DockerEngineRuby::Internal::Transport::PooledNetRequester::UnixSocketHTTP
- Defined in:
- lib/docker_engine_ruby/internal/transport/pooled_net_requester.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#initialize(socket_path, *_rest) ⇒ UnixSocketHTTP
constructor
private
Net::HTTP.new forwards multiple args to #initialize.
Constructor Details
#initialize(socket_path, *_rest) ⇒ UnixSocketHTTP
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Net::HTTP.new forwards multiple args to #initialize. We only care about socket_path and ignore the rest.
13 14 15 16 |
# File 'lib/docker_engine_ruby/internal/transport/pooled_net_requester.rb', line 13 def initialize(socket_path, *_rest) super("localhost", Net::HTTP.http_default_port) @socket_path = socket_path end |