:sig
function memcache_set(connection : u64, key : string, value : string, expires_in : u64 = 3600) bool

:params
connection : the connection handle
key : the entry key
value : the value text
expires_in : the lifetime in seconds

:returns
`true` when the server stores the entry

:content
`memcache_set()` stores `value` under `key`.

It returns `true` only when the server returns `STORED`. It normalizes whitespace in keys to underscores before it sends the request.

This normalization is transparent. The keys `"a b"` and `"a_b"` address the same entry.

:example capy render
var connection := memcache_connect()
if connection { print(memcache_set(connection, "doc-key", "value"), "\n") }

:see-group
memcache
