Function enableCookies

Synopsis

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

virtual void enableCookies(bool flag=true)=0

Description

Enable cookies for the client.

Parameters:

flag - if the parameter is true, all requests sent by the client carry the cookies set by the server side. Cookies are disabled by default.

Source

Line 133 in lib/inc/drogon/HttpClient.h.






Add Discussion as Guest

Log in to DocsForge