Share via


http_request::method Method

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

const http::method &method() const;

Return Value

Request method of this HTTP request.

Requirements

Header: http_msg.h

Namespace: web::http

See Also

Reference

http_request Class