Sends “close notify” to the peer and tries to shut down the SSL
connection gracefully.
This adds a new ObjectId
to the internal tables. Where object_id is the numerical form, short_name is the short name, and long_name is the long name.
Returns true
if successful. Raises an OpenSSL::ASN1::ASN1Error
if it fails.
When allow_prerelease
is set to true
prereleases gems are allowed to match dependencies.
Return the Specification that listed the dependency
The version requirement for this dependency request
Stop tracing object allocations.
Note that if ::trace_object_allocations_start
is called n-times, then tracing will stop after calling ::trace_object_allocations_stop
n-times.
Constant time memory comparison for fixed length strings, such as results of HMAC
calculations.
Returns true
if the strings are identical, false
if they are of the same length but not identical. If the length is different, ArgumentError
is raised.
Returns integer 443
, the default port to use for HTTPS requests:
Net::HTTP.https_default_port # => 443
Returns integer 443
, the default port to use for HTTPS requests:
Net::HTTP.https_default_port # => 443
Returns whether the request may have a body:
Net::HTTP::Post.new(uri).request_body_permitted? # => true Net::HTTP::Get.new(uri).request_body_permitted? # => false
Replace the value of start_line
with the given value.
Full paths in the gem to add to $LOAD_PATH
when this gem is activated.