Class: StubSocket::StubIO

Inherits:
Object
  • Object
show all
Defined in:
lib/webmock/http_lib_adapters/net_http.rb

Instance Method Summary collapse

Instance Method Details

#cipherObject



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_certObject



232
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 232

def peer_cert; end

#peeraddrObject



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_versionObject



234
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 234

def ssl_version; "TLSv1.3" end