method
send_literal
send_literal(str)
private
Hide source
# File lib/net/imap.rb, line 1122 def send_literal(str) put_string("{" + str.length.to_s + "}" + CRLF) while @continuation_request.nil? && !@tagged_responses.key?(Thread.current[:net_imap_tag]) @response_arrival.wait raise @exception if @exception end if @continuation_request.nil? pick_up_tagged_response(Thread.current[:net_imap_tag]) raise ResponseError.new("expected continuation request") end @continuation_request = nil put_string(str) end