Function setPath

Summary

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

(1) void setPath(const std::string &path)

(2) void setPath(std::string &&path)

Function overload

Synopsis

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

void setPath(const std::string &path)

Description

Set the path of the cookie.

Source

Lines 80-83 in lib/inc/drogon/Cookie.h.

void setPath(const std::string &path)
{
    path_ = path;
}

Synopsis

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

void setPath(std::string &&path)

Description

No description yet.

Source

Lines 84-87 in lib/inc/drogon/Cookie.h.

void setPath(std::string &&path)
{
    path_ = std::move(path);
}





Add Discussion as Guest

Log in to DocsForge