add_object


Description:

public bool add_object (string key, Object value, time_t expires = -1)

Add an object to the bucket.

Example:

  var example_object = new ExampleObject();
example_object.test = "pass";
var success = client.add_object( "my-key", example_object );

Parameters:

key The key
value The value
expires Optionally, the unix timestamp when the key expires

Returns:

true if the key/value pair was stored successfully