Class: HttpArchive::Request
- Inherits:
-
Object
- Object
- HttpArchive::Request
- Defined in:
- lib/http_archive/classes.rb
Overview
Holds information about the performed request in an interaction
Instance Attribute Summary collapse
-
#body_size ⇒ Fixnum
Size of the request body (POST data payload).
-
#cookies ⇒ Array
A list of cookie objects for this request.
-
#headers ⇒ Hash
The headers of this request.
-
#headers_size ⇒ Fixnum
Size of the request header.
-
#http_method ⇒ String
The method of this request.
-
#http_version ⇒ String
The HTTP version of this request.
-
#query_string ⇒ Array
A list of query parameters for this request.
-
#url ⇒ String
The absolute url of the request.
Instance Attribute Details
#body_size ⇒ Fixnum
Size of the request body (POST data payload)
103 104 105 |
# File 'lib/http_archive/classes.rb', line 103 def body_size @body_size end |
#cookies ⇒ Array
A list of cookie objects for this request
89 90 91 |
# File 'lib/http_archive/classes.rb', line 89 def @cookies end |
#headers ⇒ Hash
The headers of this request
97 98 99 |
# File 'lib/http_archive/classes.rb', line 97 def headers @headers end |
#headers_size ⇒ Fixnum
Size of the request header
100 101 102 |
# File 'lib/http_archive/classes.rb', line 100 def headers_size @headers_size end |
#http_method ⇒ String
The method of this request
80 81 82 |
# File 'lib/http_archive/classes.rb', line 80 def http_method @http_method end |
#http_version ⇒ String
The HTTP version of this request
86 87 88 |
# File 'lib/http_archive/classes.rb', line 86 def http_version @http_version end |
#query_string ⇒ Array
A list of query parameters for this request
92 93 94 |
# File 'lib/http_archive/classes.rb', line 92 def query_string @query_string end |
#url ⇒ String
The absolute url of the request
83 84 85 |
# File 'lib/http_archive/classes.rb', line 83 def url @url end |