vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Function Cookie.maxAge

Maximum life time of the cookie

void maxAge (
  long value
) @property @safe;

void maxAge (
  core.time.Duration value
) @property @safe;

long maxAge() @property @safe const;

This is the modern variant of expires. For backwards compatibility it is recommended to set both properties, or to use the expire method.


Sönke Ludwig, Jan Krüger


© 2012-2015 RejectedSoftware e.K.


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.