Class Riddle::Client::Message
In: lib/riddle/client/message.rb
Parent: Object

This class takes care of the translation of ints, strings and arrays to the format required by the Sphinx service.

Methods

Public Class methods

Public Instance methods

Append raw data (only use if you know what you‘re doing)

Append an array of strings - first appends the length of the array, then each item‘s length and value.

Append a float

Append multiple floats

Append an integer

Append multiple integers

Append a string‘s length, then the string itself

Returns the entire message

[Validate]