Function setHttpOnly

Synopsis

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

void setHttpOnly(bool only)

Description

Set if the cookie is HTTP only.

Source

Lines 56-59 in lib/inc/drogon/Cookie.h.

void setHttpOnly(bool only)
{
    httpOnly_ = only;
}





Add Discussion as Guest

Log in to DocsForge