Class: Rex::Proto::Http::Request::Get

Inherits:
Rex::Proto::Http::Request show all
Defined in:
lib/rex/proto/http/request.rb

Overview

HTTP GET request class wrapper.

Constant Summary

Constants inherited from Rex::Proto::Http::Request

PostRequests

Instance Attribute Summary

Attributes inherited from Rex::Proto::Http::Request

#junk_directories, #junk_end_of_uri, #junk_param_start, #junk_params, #junk_pipeline, #junk_self_referring_directories, #junk_slashes, #method, #proto, #raw_uri, #relative_resource, #uri_encode_mode, #uri_parts

Attributes inherited from Packet

#auto_cl, #body, #bufq, #chunk_max_size, #chunk_min_size, #compress, #error, #headers, #incomplete, #max_data, #state, #transfer_chunked

Instance Method Summary collapse

Methods inherited from Rex::Proto::Http::Request

#body, #cmd_string, #meta_vars, #normalize!, #param_string, #parse_cgi_qstring, #qstring, #resource, #resource=, #to_s, #update_cmd_parts, #update_uri_parts, #uri, #uri=

Methods inherited from Packet

#[], #[]=, #chunk, #cmd_string, #completed?, #from_s, #parse, #reset, #reset_except_queue, #to_s

Constructor Details

#initialize(uri = '/', proto = DefaultProtocol) ⇒ Get


28
29
30
# File 'lib/rex/proto/http/request.rb', line 28

def initialize(uri = '/', proto = DefaultProtocol)
  super('GET', uri, proto)
end