| Home | Libraries | People | FAQ | More

###### http::header::method_string (2 of 2 overloads)

Set the request-method.

<h7> Synopsis </h7>

    void
    method_string(
        string_view s);

<h7> Description </h7>

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

<h7> Parameters </h7>

Name | Description
--- | ---
`s` | A string representing the request-method.

<h7> Remarks </h7>

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