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#use_ssl?

use_ssl?

Returns true if self uses SSL, false otherwise. See Net::HTTP#use_ssl=.

See also #use_ssl= #write_timeout= #unlock also in 4.0 · 3.4