Sha256: bf9ad805f7ab8fcc8504180bb77c4d2dcdda513f2aa11cea0cb24383012bb91f

Contents?: true

Size: 573 Bytes

Versions: 1

Compression:

Stored size: 573 Bytes

Contents

module HTTPX
  IPRegex: Regexp

  @ctx: OpenSSL::SSL::SSLContext
  @verify_hostname: bool

  class TLSError < OpenSSL::SSL::SSLError
  end

  class SSL < TCP
    TLS_OPTIONS: Hash[Symbol, untyped]

    # TODO: lift when https://github.com/ruby/rbs/issues/1497 fixed
    # def initialize: (URI::Generic origin, Array[ipaddr]? addresses, options options) ?{ (self) -> void } -> void

    def can_verify_peer?: () -> bool

    def verify_hostname: (String host) -> bool

    def ssl_session_expired?: () -> boolish

    # :nocov:
    def try_ssl_connect: () -> void
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
httpx-0.24.4 sig/io/ssl.rbs