Class: StubSocket::StubIO
- Inherits:
-
Object
- Object
- StubSocket::StubIO
- Defined in:
- lib/webmock/http_lib_adapters/net_http.rb
Instance Method Summary collapse
- #cipher ⇒ Object
- #peer_cert ⇒ Object
- #peeraddr ⇒ Object
- #setsockopt(*args) ⇒ Object
- #ssl_version ⇒ Object
Instance Method Details
#cipher ⇒ Object
239 |
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 239 def cipher; ["TLS_AES_128_GCM_SHA256", "TLSv1.3", 128, 128] end |
#peer_cert ⇒ Object
236 |
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 236 def peer_cert; end |
#peeraddr ⇒ Object
237 |
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 237 def peeraddr; ["AF_INET", 443, "127.0.0.1", "127.0.0.1"] end |
#setsockopt(*args) ⇒ Object
235 |
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 235 def setsockopt(*args); end |
#ssl_version ⇒ Object
238 |
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 238 def ssl_version; "TLSv1.3" end |