Sha256: 91bc66e5d8eaf4d54d3e28f379f516163a657e638029b32fb63489b26a41f4d8

Contents?: true

Size: 941 Bytes

Versions: 20

Compression:

Stored size: 941 Bytes

Contents

module HTTPX
  module Resolver
    class Resolver
      include Callbacks
      include Loggable

      RECORD_TYPES: Hash[Integer, singleton(Resolv::DNS::Resource)]

      attr_reader family: ip_family

      @record_type: singleton(Resolv::DNS::Resource)
      @options: Options
      @resolver_options: Hash[Symbol, untyped]
      @queries: Hash[String, Connection]
      @system_resolver: Resolv::Hosts

      def close: () -> void

      def closed?: () -> bool

      def empty?: () -> bool

      def emit_addresses: (Connection connection, ip_family family, Array[IPAddr]) -> void

      private

      def initialize: (ip_family? family, options options) -> void

      def early_resolve: (Connection connection, ?hostname: String) -> void

      def emit_resolve_error: (Connection connection, ?String hostname, ?StandardError) -> void

      def resolve_error: (String hostname, ?StandardError?) -> ResolveError
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
httpx-0.22.2 sig/resolver/resolver.rbs
httpx-0.22.1 sig/resolver/resolver.rbs
httpx-0.22.0 sig/resolver/resolver.rbs
httpx-0.21.1 sig/resolver/resolver.rbs
httpx-0.21.0 sig/resolver/resolver.rbs
httpx-0.20.5 sig/resolver/resolver.rbs
httpx-0.20.4 sig/resolver/resolver.rbs
httpx-0.20.3 sig/resolver/resolver.rbs
httpx-0.20.2 sig/resolver/resolver.rbs
httpx-0.20.1 sig/resolver/resolver.rbs
httpx-0.20.0 sig/resolver/resolver.rbs
httpx-0.19.8 sig/resolver/resolver.rbs
httpx-0.19.7 sig/resolver/resolver.rbs
httpx-0.19.6 sig/resolver/resolver.rbs
httpx-0.19.5 sig/resolver/resolver.rbs
httpx-0.19.4 sig/resolver/resolver.rbs
httpx-0.19.3 sig/resolver/resolver.rbs
httpx-0.19.2 sig/resolver/resolver.rbs
httpx-0.19.1 sig/resolver/resolver.rbs
httpx-0.19.0 sig/resolver/resolver.rbs