| Home | Libraries | People | FAQ | More

###### http::message::message (7 of 14 overloads)

Constructor.

###### Synopsis

    template<
        class BodyArg>
    message(
        verb method,
        string_view target,
        unsigned version,
        BodyArg&& body_arg);

###### 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.

###### Remarks

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