Class: Rex::Proto::Http::Request::Post
- Inherits:
-
Rex::Proto::Http::Request
- Object
- Packet
- Rex::Proto::Http::Request
- Rex::Proto::Http::Request::Post
- Defined in:
- lib/rex/proto/http/request.rb
Overview
HTTP POST 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, #bufq, #chunk_max_size, #chunk_min_size, #compress, #error, #headers, #incomplete, #max_data, #state, #transfer_chunked
Instance Method Summary collapse
-
#initialize(uri = '/', proto = DefaultProtocol) ⇒ Post
constructor
A new instance of Post.
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) ⇒ Post
Returns a new instance of Post.
37 38 39 |
# File 'lib/rex/proto/http/request.rb', line 37 def initialize(uri = '/', proto = DefaultProtocol) super('POST', uri, proto) end |