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::header::method (1 of 2 overloads)

Return the request-method verb.

Synopsis
verb
method() const;
Description

If the request-method is not one of the recognized verbs, http::unknown is returned. Callers may use http::header::method_string to retrieve the exact text.

Remarks

This function is only available when isRequest == true.

See Also

http::header::method_string


PrevUpHomeNext