More yard doc

bug/bundler_fix
sinn3r 2015-03-25 10:50:11 -05:00
parent 9b9e157e84
commit 60f1d9c961
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ module Metasploit
# @option opts['Hash'] 'context' A context
# @raise [Rex::ConnectionError] One of these errors has occured: EOFError, Errno::ETIMEDOUT, Rex::ConnectionError, ::Timeout::Error
# @return [Rex::Proto::Http::Response] The HTTP response
# @return [NilClass] An error has occured while reading the response (see #Rex::Proto::Http::Client#read_response)
def send_request(opts)
rhost = opts['host'] || host
rport = opts['rport'] || port