Function version

Synopsis

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

virtual Version version() const =0

Description

Return the enum type version of the response.

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

Source

Line 253 in lib/inc/drogon/HttpResponse.h.






Add Discussion as Guest

Log in to DocsForge