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
235 |
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 235 def cipher; ["TLS_AES_128_GCM_SHA256", "TLSv1.3", 128, 128] end |
#peer_cert ⇒ Object
232 |
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 232 def peer_cert; end |
#peeraddr ⇒ Object
233 |
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 233 def peeraddr; ["AF_INET", 443, "127.0.0.1", "127.0.0.1"] end |
#setsockopt(*args) ⇒ Object
231 |
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 231 def setsockopt(*args); end |
#ssl_version ⇒ Object
234 |
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 234 def ssl_version; "TLSv1.3" end |