Function matchedPathPattern

Synopsis

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

string_view matchedPathPattern() const

Description

Get the matched path pattern after routing.

Source

Lines 202-206 in lib/inc/drogon/HttpRequest.h.

string_view matchedPathPattern() const
{
    return string_view(matchedPathPatternData(),
                       matchedPathPatternLength());
}





Add Discussion as Guest

Log in to DocsForge