Class: Mxrb::Http::Request
- Inherits:
-
Data
- Object
- Data
- Mxrb::Http::Request
- Defined in:
- lib/mxrb/http/server.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#query ⇒ Object
readonly
Returns the value of attribute query.
-
#request_method ⇒ Object
readonly
Returns the value of attribute request_method.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
17 18 19 |
# File 'lib/mxrb/http/server.rb', line 17 def body @body end |
#headers ⇒ Object (readonly)
Returns the value of attribute headers
17 18 19 |
# File 'lib/mxrb/http/server.rb', line 17 def headers @headers end |
#path ⇒ Object (readonly)
Returns the value of attribute path
17 18 19 |
# File 'lib/mxrb/http/server.rb', line 17 def path @path end |
#query ⇒ Object (readonly)
Returns the value of attribute query
17 18 19 |
# File 'lib/mxrb/http/server.rb', line 17 def query @query end |
#request_method ⇒ Object (readonly)
Returns the value of attribute request_method
17 18 19 |
# File 'lib/mxrb/http/server.rb', line 17 def request_method @request_method end |
Instance Method Details
#[](name) ⇒ Object
18 |
# File 'lib/mxrb/http/server.rb', line 18 def [](name) = headers[name] |