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 develop branch, built from commit 66fb9fb147.
PrevUpHomeNext
http::header::method_string (2 of 2 overloads)

Set the request-method.

Synopsis
void
method_string(
    string_view s);
Description

This function will set the request-method a known verb if the string matches, otherwise it will store a copy of the passed string.

Parameters

Name

Description

s

A string representing the request-method.

Remarks

This function is only available when isRequest == true.


PrevUpHomeNext