Request.setMethod

Set the request method.

See the Method enumeration for a complete list of all the availale methods. The method is Http::Request::Get by default.

Params method = Method to use for the request.

class Request
void
setMethod

Meta