Class Riddle::Client::Response
In: lib/riddle/client/response.rb
Parent: Object

Used to interrogate responses from the Sphinx daemon. Keep in mind none of the methods here check whether the data they‘re grabbing are what the user expects - it just assumes the user knows what the data stream is made up of.

Methods

Public Class methods

Create with the data to interpret

Public Instance methods

Returns the length of the streamed data

Return the next string value in the stream

Returns an array of string items

Return the next float value from the stream

Return the next integer value from the stream

Returns an array of int items

[Validate]