Method: HTTPX::SSL#close

Defined in:
lib/httpx/io/ssl.rb

#closeObject



37
38
39
40
41
42
43
# File 'lib/httpx/io/ssl.rb', line 37

def close
  super
  # allow reconnections
  # connect only works if initial @io is a socket
  @io = @io.io if @io.respond_to?(:io)
  @negotiated = false
end