Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method

Net::HTTPSession#peer_cert

peer_cert

Returns the X509 certificate chain (an array of strings) for the session’s socket peer, or nil if none.

See also #patch #post #options #propfind also in 4.0 · 3.4