lib/elevate/http/request.rb
# Returns a response to this request, sending it if necessary
#
# This method blocks the calling thread, unless interrupted.
#
# @return [Elevate::HTTP::Response, nil]
#   response to this request, or nil, if this request was canceled
#
# @api public
Returns a response to this request, sending it if necessary
This method blocks the calling thread, unless interrupted.
Returns a response to this request sending it if necessary This method blocks the calling thread unless interrupted .
def response
      unless sent?
        send
      end
      @future.value
    end
def response unless sent? send end @future . value end
Returns a response to this request, sending it if necessary
This method blocks the calling thread, unless interrupted.
Returns a response to this request sending it if necessary This method blocks the calling thread unless interrupted .
response to this request, or nil, if this request was canceled
response to this request or nil if this request was canceled
Elevate::HTTP::Response, nil
api
None