Function setDomain

Summary

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

(1) void setDomain(const std::string &domain)

(2) void setDomain(std::string &&domain)

Function overload

Synopsis

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

void setDomain(const std::string &domain)

Description

Set the domain of the cookie.

Source

Lines 72-75 in lib/inc/drogon/Cookie.h.

void setDomain(const std::string &domain)
{
    domain_ = domain;
}

Synopsis

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

void setDomain(std::string &&domain)

Description

No description yet.

Source

Lines 76-79 in lib/inc/drogon/Cookie.h.

void setDomain(std::string &&domain)
{
    domain_ = std::move(domain);
}





Add Discussion as Guest

Log in to DocsForge