An SSLContext
is used to set various options regarding certificates, algorithms, verification, session caching, etc. The SSLContext
is used to create an SSLSocket
.
All attributes must be set before creating an SSLSocket
as the SSLContext
will be frozen afterward.
Configuration options for dumping YAML
.
Class for representing HTTP method OPTIONS:
require 'net/http' uri = URI('http://example.com') hostname = uri.hostname # => "example.com" req = Net::HTTP::Options.new(uri) # => #<Net::HTTP::Options OPTIONS> res = Net::HTTP.start(hostname) do |http| http.request(req) end
See Request Headers.
Properties:
Request body: optional.
Response body: yes.
Safe: yes.
Idempotent: yes.
Cacheable: no.
Related:
Net::HTTP#options
: sends OPTIONS
request, returns response object.
Ripper
doesn’t include the rest of the token in the event, so we need to trim it down to just the content on the first line when comparing.
Raised when the query given to a pattern is either invalid Ruby
syntax or is using syntax that we don’t yet support.
A field representing the start and end byte columns.
A field representing the start and end character columns.
Searches for gems starting with the supplied argument.
Used internally to indicate that a dependency conflicted with a spec that would be activated.
A set of gems for installation sourced from remote sources and local .gem files