SafeAccess.read

Read a value. Return defaultValue if k does not exist.

request.cookie.read("user", "anonymous");
struct SafeAccess(T)
@safe @nogc nothrow const
read
(
string key
,
T defaultValue = T.init
)

Meta