Function version

Synopsis

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

virtual Version version() const =0

Description

Return the enum type version of the request.

kHttp10 means Http version is 1.0 kHttp11 means Http verison is 1.1

Source

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






Add Discussion as Guest

Log in to DocsForge