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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
http::message::message (8 of 14 overloads)

Constructor.

Synopsis
template<
    class BodyArg,
    class FieldsArg>
message(
    verb method,
    string_view target,
    unsigned version,
    BodyArg&& body_arg,
    FieldsArg&& fields_arg);
Description Parameters

Name

Description

method

The request-method to use.

target

The request-target.

version

The HTTP-version.

body_arg

An argument forwarded to the body constructor.

fields_arg

An argument forwarded to the Fields constructor.

Remarks

This function is only available when isRequest == true.


PrevUpHomeNext