class Net::IMAP::SASL::ClientAdapter
def run_command(mechanism, initial_response = nil, &continuations_handler)
command to fail.
*MUST* raise an exception. Exceptions in the block *MUST* cause the
result of each yield, and returns the result. Non-successful results
Yields each continuation payload, responds to the server with the
command_proc.
The +initial_response+ is optional; when it's nil, it won't be sent to
+mechanism+, +initial_response+, and a +continuations_handler+ block.
SASL::ProtocolAdapters::Generic#command_name),
Calls command_proc with +command_name+ (see
def run_command(mechanism, initial_response = nil, &continuations_handler) command_proc or raise Error, "initialize with block or override" args = [command_name, mechanism, initial_response].compact command_proc.call(*args, &continuations_handler) end