Returns whether the HTTP
session is to be kept alive.
Parses the current JSON
text source and returns the complete data structure as a result. It raises JSON::ParserError
if fail to parse.
Returns the version number of the token info. With compliant servers, this value should be 1
if present. If status is GRANTED or GRANTED_WITH_MODS.
Sets the version number for this Request
. This should be 1
for compliant servers.
Returns the version of this request. 1
is the default value.
The version of this activation request’s specification
The version of the gem for this specification.
This method verifies that there are no (obvious) ambiguities with the provided col_sep
and strip
parsing options. For example, if col_sep
and strip
were both equal to \t
, then there would be no clear way to parse the input.
Parses the string representation of a distinguished name. Two different forms are supported:
OpenSSL format (X509_NAME_oneline()
) used by #to_s
. For example: /DC=com/DC=example/CN=nobody
OpenSSL format (X509_NAME_print()
) used by #to_s(OpenSSL::X509::Name::COMPAT)
. For example: DC=com, DC=example, CN=nobody
Neither of them is standardized and has quirks and inconsistencies in handling of escaped characters or multi-valued RDNs.
Use of this method is discouraged in new applications. See Name.parse_rfc2253
and to_utf8
for the alternative.
for settings’ keys
Called before each event with line/column information.