If response
is an HTTP Success (2XX) response, yields the response if a block was given or shows the response body to the user.
If the response was not successful, shows an error to the user including the error_prefix
and the response body.
Enumerates the trusted certificates via Gem::Security::TrustDir
.
Displays an error statement
to the error output location. Asks a question
if given.
Displays a warning statement
to the warning output location. Asks a question
if given.
Returns the description corresponding to the HTTP status code
WEBrick::HTTPStatus.reason_phrase 404 => "Not Found"
Returns the description corresponding to the HTTP status code
WEBrick::HTTPStatus.reason_phrase 404 => "Not Found"
Creates TCP server sockets bound to address
:port
and returns them.
It will create IPV4 and IPV6 sockets on all interfaces.
Creates TCP server sockets bound to address
:port
and returns them.
It will create IPV4 and IPV6 sockets on all interfaces.
Sets the XMLWriter
to use for generating XML
output.
Should be an instance of a class from module XMLRPC::XMLWriter
.
If this method is not called, then XMLRPC::Config::DEFAULT_WRITER is used.
Stores all parameters of key to the hash INSECURE: PRIVATE INFORMATIONS CAN LEAK OUT!!! Don’t use :-)) (I’s up to you)
The list of ciphers configured for this context.
Sets the list of available ciphers for this context. Note in a server context some ciphers require the appropriate certificates. For example, an RSA cipher can only be chosen when an RSA certificate is available.
See also OpenSSL::Cipher
and OpenSSL::Cipher::ciphers