Share via


http_request::set_method Method

Get the method (GET/PUT/POST/DELETE) of the request message.

void set_method(
   http::method method
) const;

Parameters

  • method
    Request method of this HTTP request.

Requirements

Header: http_msg.h

Namespace: web::http

See Also

Reference

http_request Class