Function setPathEncode

Synopsis

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

virtual void setPathEncode(bool)=0

Description

The default behavior is to encode the value of setPath using urlEncode. Setting the path encode to false avoid the value of path will be changed by the library.

Parameters

bool - true --> the path will be url encoded false --> using value of path as it is set

Source

Line 337 in lib/inc/drogon/HttpRequest.h.






Add Discussion as Guest

Log in