Sha256: 33a464d7824df0ae0c695d50c15617ea4d31b6c86e855de76af4158b7eab3d5f

Contents?: true

Size: 557 Bytes

Versions: 30

Compression:

Stored size: 557 Bytes

Contents

# frozen_string_literal: true

require "socket"
require "httpx/io/tcp"
require "httpx/io/unix"
require "httpx/io/udp"

module HTTPX
  module IO
    extend Registry
    register "udp", UDP
    register "unix", HTTPX::UNIX
    register "tcp", TCP

    if RUBY_ENGINE == "jruby"
      begin
        require "httpx/io/tls"
        register "ssl", TLS
      rescue LoadError
        # :nocov:
        require "httpx/io/ssl"
        register "ssl", SSL
        # :nocov:
      end
    else
      require "httpx/io/ssl"
      register "ssl", SSL
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
httpx-0.19.3 lib/httpx/io.rb
httpx-0.19.2 lib/httpx/io.rb
httpx-0.19.1 lib/httpx/io.rb
httpx-0.19.0 lib/httpx/io.rb
httpx-0.18.7 lib/httpx/io.rb
httpx-0.18.6 lib/httpx/io.rb
httpx-0.18.5 lib/httpx/io.rb
httpx-0.18.4 lib/httpx/io.rb
httpx-0.18.3 lib/httpx/io.rb
httpx-0.18.2 lib/httpx/io.rb
httpx-0.18.1 lib/httpx/io.rb
httpx-0.18.0 lib/httpx/io.rb
httpx-0.17.0 lib/httpx/io.rb
httpx-0.16.1 lib/httpx/io.rb
httpx-0.16.0 lib/httpx/io.rb
httpx-0.15.4 lib/httpx/io.rb
httpx-0.15.3 lib/httpx/io.rb
httpx-0.15.2 lib/httpx/io.rb
httpx-0.15.1 lib/httpx/io.rb
httpx-0.15.0 lib/httpx/io.rb