Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. 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.1 · 4.0