Class: DatawireQuarkCore::IncomingRequest
- Inherits:
-
HTTP::Request
- Object
- HTTP::Base
- HTTP::Request
- DatawireQuarkCore::IncomingRequest
- Defined in:
- lib/datawire-quark-core.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#fut ⇒ Object
Returns the value of attribute fut.
-
#request ⇒ Object
Returns the value of attribute request.
-
#rs ⇒ Object
Returns the value of attribute rs.
-
#svr ⇒ Object
Returns the value of attribute svr.
-
#ws_handler ⇒ Object
Returns the value of attribute ws_handler.
Instance Method Summary collapse
Methods inherited from HTTP::Request
Methods included from GettersSetters
Methods inherited from HTTP::Base
#getHeader, #getHeaders, #setHeader
Constructor Details
This class inherits a constructor from DatawireQuarkCore::HTTP::Request
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
753 754 755 |
# File 'lib/datawire-quark-core.rb', line 753 def action @action end |
#fut ⇒ Object
Returns the value of attribute fut.
750 751 752 |
# File 'lib/datawire-quark-core.rb', line 750 def fut @fut end |
#request ⇒ Object
Returns the value of attribute request.
751 752 753 |
# File 'lib/datawire-quark-core.rb', line 751 def request @request end |
#rs ⇒ Object
Returns the value of attribute rs.
749 750 751 |
# File 'lib/datawire-quark-core.rb', line 749 def rs @rs end |
#svr ⇒ Object
Returns the value of attribute svr.
752 753 754 |
# File 'lib/datawire-quark-core.rb', line 752 def svr @svr end |
#ws_handler ⇒ Object
Returns the value of attribute ws_handler.
754 755 756 |
# File 'lib/datawire-quark-core.rb', line 754 def ws_handler @ws_handler end |
Instance Method Details
#fail!(code, body) ⇒ Object
756 757 758 759 760 |
# File 'lib/datawire-quark-core.rb', line 756 def fail! (code, body) @rs.setCode(code) @rs.setBody(body) respond :http_response end |
#respond(action) ⇒ Object
762 763 764 |
# File 'lib/datawire-quark-core.rb', line 762 def respond(action) @svr.respond(self, action) end |