Sends “close notify” to the peer and tries to shut down the SSL
connection gracefully.
A description of the current connection state. This is for diagnostic purposes only.
Sets the Session
to be used when the connection is established.
Sets the server hostname used for SNI. This needs to be set before SSLSocket#connect
.
See TCPServer#listen
for details.
Returns the status of the response.
Returns an Array
of statuses for this response. Each status contains a CertificateId
, the status (0 for good, 1 for revoked, 2 for unknown), the reason for the status, the revocation time, the time of this update, the time for the next update and a list of OpenSSL::X509::Extension
.
This should be superseded by BasicResponse#responses
and find_response
that return SingleResponse
.
Returns true
if the listing commands, LIST, NLST, and MLSD are applied to the directory.
Push an event back on the head of the stream. This method has (theoretically) infinite depth.
Content: [ String
text ]
Content: [ String
text ]
Content: [ String
text ]
Listen arguments:
Listen to Symbol events on Array elements
Symbol
, Block
Listen to Symbol events
Array
, Listener
Listen to all events on Array elements
Array
, Block
Listen to :start_element events on Array elements
Listener
Listen to All events
Symbol
can be one of: :start_element, :end_element, :start_prefix_mapping, :end_prefix_mapping, :characters, :processing_instruction, :doctype, :attlistdecl, :elementdecl, :entitydecl, :notationdecl, :cdata, :xmldecl, :comment
There is an additional symbol that can be listened for: :progress. This will be called for every event generated, passing in the current stream position.
Array
contains regular expressions or strings which will be matched against fully qualified element names.
Listener must implement the methods in SAX2Listener
Block will be passed the same arguments as a SAX2Listener
method would be, where the method name is the same as the matched Symbol
. See the SAX2Listener
for more information.
| RelativeLocationPath | '/' RelativeLocationPath? | '//' RelativeLocationPath