Sha256: 500b40d541838e3c6fffb4855c16af1fb5e95f0b1c6b289f4c7fec7aae73d388

Contents?: true

Size: 954 Bytes

Versions: 5

Compression:

Stored size: 954 Bytes

Contents

module HTTPX
  module Resolver
    class HTTPS < Resolver
      NAMESERVER: String

      DEFAULTS: Hash[Symbol, untyped]
      FAMILY_TYPES: Hash[singleton(Resolv::DNS::Resource), String]

      @family: ip_family
      @options: Options
      @requests: Hash[Request, Connection]
      @connections: Array[Connection]
      @uri: URI::Generic
      @uri_addresses: Array[String]?
      @resolver: Resolv::DNS
      @resolver_connection: Connection

      attr_writer pool: Pool

      def <<: (Connection) -> void

      private

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

      def resolver_connection: () -> Connection

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

      def on_response: (Request, response) -> void

      def parse: (Response response) -> void

      def build_request: (String hostname) -> Request

      def decode_response_body: (Response) -> Array[dns_result]
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
httpx-0.19.4 sig/resolver/https.rbs
httpx-0.19.3 sig/resolver/https.rbs
httpx-0.19.2 sig/resolver/https.rbs
httpx-0.19.1 sig/resolver/https.rbs
httpx-0.19.0 sig/resolver/https.rbs