Sha256: 2de9bc015da73a310ba4439bf7627eeba45772fef19f0db71b87256e625c1ea4

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

module HTTPX
  module Resolver
    class HTTPS
      include ResolverMixin
      include _ToIO

      @options: Options
      @resolver_options: Hash[Symbol, untyped]
      @_record_types: Hash[String, Hash["A" | "AAAA", dns_resource]]
      @queries: Hash[String, Connection]
      @requests: Hash[Request, Connection]
      @connections: Array[Connection]
      @uri: URI::HTTPS
      @uri_addresses: Array[String]?

      def <<: (Connection) -> void

      def timeout: () -> Numeric?

      def closed?: () -> bool

      def empty?: () -> bool

      def close: () -> void

      def call: () -> void

      def interests: () -> io_interests?

      private

      def initialize: (options) -> untyped

      def pool: () -> Pool

      def resolver_connection: () -> Connection

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

      def response: (Response) -> void

      def build_request: (String hostname, "A" | "AAAA") -> Request

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
httpx-0.10.2 sig/resolver/https.rbs
httpx-0.10.1 sig/resolver/https.rbs