vibe.d beta banner
get vibe.d
0.10.1

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.

Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012-2015 Sönke Ludwig

License

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