Function setExpiredTime

Synopsis

#include <lib/inc/drogon/HttpResponse.h>

virtual void setExpiredTime(ssize_t expiredTime)=0

Description

Set the expiration time of the response cache in memory. in seconds, 0 means always cache, negative means not cache, default is -1.

Mentioned in

Source

Line 267 in lib/inc/drogon/HttpResponse.h.






Add Discussion as Guest

Log in to DocsForge