Class: Rex::Proto::Http::Request::Get
- Inherits:
-
Rex::Proto::Http::Request
- Object
- Packet
- Rex::Proto::Http::Request
- Rex::Proto::Http::Request::Get
- Defined in:
- lib/rex/proto/http/request.rb
Overview
HTTP GET request class wrapper.
Constant Summary
Constants inherited from Rex::Proto::Http::Request
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, #body_bytes_left, #bufq, #chunk_max_size, #chunk_min_size, #compress, #error, #headers, #incomplete, #inside_chunk, #keepalive, #max_data, #state, #transfer_chunked
Instance Method Summary collapse
-
#initialize(uri = '/', proto = DefaultProtocol) ⇒ Get
constructor
A new instance of Get.
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
#[], #[]=, #check_100, #chunk, #cmd_string, #completed?, #from_s, #output_packet, #parse, #parse_body, #parse_header, #reset, #reset_except_queue, #to_s, #to_terminal_output, #update_cmd_parts
Constructor Details
#initialize(uri = '/', proto = DefaultProtocol) ⇒ Get
Returns a new instance of Get.
28 29 30 |
# File 'lib/rex/proto/http/request.rb', line 28 def initialize(uri = '/', proto = DefaultProtocol) super('GET', uri, proto) end |