| Home | Libraries | People | FAQ | More

###### http::message::target (1 of 2 overloads)

(Inherited from `http::header`)

Returns the request-target string.

<h7> Synopsis </h7>

    string_view
    target() const;

<h7> Description </h7>

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.

<h7> Remarks </h7>

This function is only available when `isRequest == true`.