Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit b936bbe8ce.
PrevUpHomeNext
http::header::target (1 of 2 overloads)

Returns the request-target string.

Synopsis
string_view
target() const;
Description

The request target string returned is the same string which was received from the network or stored. In particular, it will contain url-encoded characters and should follow the syntax rules for URIs used with HTTP.

Remarks

This function is only available when isRequest == true.


PrevUpHomeNext