touch
Description:
public bool touch (
string key,
time_t expires)
Update the expiration time of an existing key.
Example:
bool success = client.touch( "example-key", ( time_t() + 30 ) );
Parameters:
key |
Key to touch |
expires |
New expiration time |
Returns: