Function setPassThrough

Synopsis

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

virtual void setPassThrough(bool flag)=0

Description

Set the request object to the pass-through mode or not. It's not by default when a new request object is created. In pass-through mode, no addtional headers (including server, date, content-type and content-length, etc.) are added to the request. This mode is useful for some applications such as a proxy.

Parameters:

flag -

Source

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






Add Discussion as Guest

Log in to DocsForge