Class: Net::HTTP
- Inherits:
-
Object
- Object
- Net::HTTP
- Defined in:
- lib/mint_http/net_http.rb
Instance Method Summary collapse
Instance Method Details
#buffered_socket ⇒ Object
5 6 7 |
# File 'lib/mint_http/net_http.rb', line 5 def buffered_socket @socket end |
#underlying_tcp_socket ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/mint_http/net_http.rb', line 9 def socket = @socket&.io if socket.is_a?(OpenSSL::SSL::SSLSocket) socket = socket.io end socket end |