Function Cookie

Summary

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

(1) Cookie(const std::string &key, const std::string &value)

(2) Cookie(std::string &&key, std::string &&value)

(3) Cookie()=default

Function overload

Synopsis

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

Cookie(const std::string &key, const std::string &value)

Description

Constructor.

Parameters:

key - key of the cookie

value - value of the cookie

Source

Lines 33-36 in lib/inc/drogon/Cookie.h.

Cookie(const std::string &key, const std::string &value)
    : key_(key), value_(value)
{
}

Synopsis

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

Cookie(std::string &&key, std::string &&value)

Description

No description yet.

Source

Lines 37-40 in lib/inc/drogon/Cookie.h.

Cookie(std::string &&key, std::string &&value)
    : key_(std::move(key)), value_(std::move(value))
{
}

Synopsis

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

Cookie()=default

Description

No description yet.

Source

Line 41 in lib/inc/drogon/Cookie.h.






Add Discussion as Guest

Log in to DocsForge