Sha256: 5847b944f0b7b2af28330cb3c733a0c63540ea27fa87464b4786f9fe76e0e9e3

Contents?: true

Size: 980 Bytes

Versions: 3

Compression:

Stored size: 980 Bytes

Contents

module HTTPX
  module Resolver
    class HTTPS < Resolver
      NAMESERVER: String

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

      attr_reader family: ip_family

      @options: Options
      @requests: Hash[Request, String]
      @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: (Request request, Response response) -> void

      def build_request: (String hostname) -> Request

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
httpx-0.22.5 sig/resolver/https.rbs
httpx-0.22.4 sig/resolver/https.rbs
httpx-0.22.3 sig/resolver/https.rbs