Function setValue

Summary

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

(1) void setValue(const std::string &value)

(2) void setValue(std::string &&value)

Function overload

Synopsis

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

void setValue(const std::string &value)

Description

Set the value of the cookie.

Source

Lines 107-110 in lib/inc/drogon/Cookie.h.

void setValue(const std::string &value)
{
    value_ = value;
}

Synopsis

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

void setValue(std::string &&value)

Description

No description yet.

Source

Lines 111-114 in lib/inc/drogon/Cookie.h.

void setValue(std::string &&value)
{
    value_ = std::move(value);
}





Add Discussion as Guest

Log in to DocsForge