set_object


Description:

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

Set a key and an object in the bucket.

Example:

  var example_object = new ExampleObject();
example_object.test = "pass";
var success = client.set_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