Class: XRBP::WebSocket::Plugins::ResultParser
- Inherits:
-
ResultParserBase
- Object
- PluginBase
- ResultParserBase
- XRBP::WebSocket::Plugins::ResultParser
- Defined in:
- lib/xrbp/websocket/plugins/result_parser.rb
Overview
Plugin to automatically parse and convert websocket results, before returning.
Instance Attribute Summary
Attributes inherited from ResultParserBase
Attributes inherited from PluginBase
Instance Method Summary collapse
Methods inherited from ResultParserBase
Methods inherited from PluginBase
Constructor Details
This class inherits a constructor from XRBP::PluginBase
Instance Method Details
#parser=(p) ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/xrbp/websocket/plugins/result_parser.rb', line 17 def parser=(p) super(p) self.connection.connections.each { |conn| conn.parse_results &p } if self.connection.kind_of?(MultiConnection) p end |