Sha256: 2438acde968ee166bcc646be4733fd72af7fef7c65f112423a18ed69d8d52999

Contents?: true

Size: 1.13 KB

Versions: 30

Compression:

Stored size: 1.13 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 on_response: (Request, response) -> 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

30 entries across 30 versions & 1 rubygems

Version Path
httpx-0.18.7 sig/resolver/https.rbs
httpx-0.18.6 sig/resolver/https.rbs
httpx-0.18.5 sig/resolver/https.rbs
httpx-0.18.4 sig/resolver/https.rbs
httpx-0.18.3 sig/resolver/https.rbs
httpx-0.18.2 sig/resolver/https.rbs
httpx-0.18.1 sig/resolver/https.rbs
httpx-0.18.0 sig/resolver/https.rbs
httpx-0.17.0 sig/resolver/https.rbs
httpx-0.16.1 sig/resolver/https.rbs
httpx-0.16.0 sig/resolver/https.rbs
httpx-0.15.4 sig/resolver/https.rbs
httpx-0.15.3 sig/resolver/https.rbs
httpx-0.15.2 sig/resolver/https.rbs
httpx-0.15.1 sig/resolver/https.rbs
httpx-0.15.0 sig/resolver/https.rbs
httpx-0.14.5 sig/resolver/https.rbs
httpx-0.14.4 sig/resolver/https.rbs
httpx-0.14.3 sig/resolver/https.rbs
httpx-0.14.2 sig/resolver/https.rbs