Function isHttpOnly

Synopsis

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

bool isHttpOnly() const

Description

Check if the cookie is HTTP only.

Return
true means the cookie is HTTP only
Return
false means the cookie is not HTTP only

Source

Lines 226-229 in lib/inc/drogon/Cookie.h.

bool isHttpOnly() const
{
    return httpOnly_;
}





Add Discussion as Guest

Log in to DocsForge