Look up a query‐string parameter from the request target.

Synopsis

Declared in <httpserver.h>

std::optional<std::string>
GetQueryParameter(std::string_view key) const;

Return Value

The parameter value, or nullopt if it is not present.

Parameters

Name

Description

key

The parameter name to look up.

Created with MrDocs