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



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_certObject



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

def peer_cert; end

#peeraddrObject



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_versionObject



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

def ssl_version; "TLSv1.3" end